rbglox 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/bin/rbglox +8 -2
- data/lib/rbglox/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ODRlNGZkMWJlNmM2YWM3NWI4YWFjMjhiOTI1ZjQ5NGVmNjdjMWVlYw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MmU3ZjVkMmYyYzQxOTA0MmRjM2VjN2I4M2M5NGNkYTNiZWRkYzM5MQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MTJmOGI5YTUzMmQ1NjUyYjc3Zjc4MDE3Y2MwYjVmNTZkY2YxOGY4NjczZGQ1
|
10
|
+
MDI5MGMwYWQ2NjY2YTk0MGU3OTMwY2MwNmZiZTgxYjMyYjk5YjhhZWI2NmZk
|
11
|
+
Yzk5YWYwOGUwZjU3OTcxMTg3YzdjZDY0NDExMjFmZTZkZWY3NDA=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MTRlMGIxZDY0ODU1NTllYWZhYmU0ZmYzMDdhODM0NWM4Nzk0YTEyY2EzOGRj
|
14
|
+
ZDE1OWQ3MWVkNTM1MzU5Mjc5ZDE1MzE3YTgxZDRlZmNmNjFiOTc3OTk4MWY3
|
15
|
+
OTYyNTRlZmRhYmE2NDcwYzU1ZTQxMDE4ODlmYmEzMTdiMjRkODg=
|
data/bin/rbglox
CHANGED
@@ -5,6 +5,12 @@ $:.unshift File.join(File.dirname(__FILE__), *%w[.. lib])
|
|
5
5
|
require 'rbglox'
|
6
6
|
require 'optparse'
|
7
7
|
|
8
|
+
begin
|
9
|
+
require 'ftools'
|
10
|
+
rescue LoadError
|
11
|
+
require 'fileutils'
|
12
|
+
end
|
13
|
+
|
8
14
|
help = <<HELP
|
9
15
|
RBGLox v#{RBGLox::VERSION}
|
10
16
|
|
@@ -58,9 +64,9 @@ end
|
|
58
64
|
|
59
65
|
def init(src, dst)
|
60
66
|
puts 'Copying shader ...'
|
61
|
-
|
67
|
+
FileUtils.cp(File.join(src, 'res/shader.glsl'), File.join(dst, 'shader.glsl'))
|
62
68
|
puts 'Copying texture ...'
|
63
|
-
|
69
|
+
FileUtils.cp(File.join(src, 'res/texture.tga'), File.join(dst, 'texture1.tga'))
|
64
70
|
puts 'Now run `rbglox` and enjoy :)'
|
65
71
|
0
|
66
72
|
end
|
data/lib/rbglox/version.rb
CHANGED