six-arma-tools 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/six/arma/tools/pbodll.rb +5 -1
- metadata +2 -2
data/Rakefile
CHANGED
@@ -158,7 +158,11 @@ module Six
|
|
158
158
|
params = "-BINARIZE -CLEAR -DEBUG"
|
159
159
|
params += " -TEMP \"#{settings[:temp]}\"" if settings[:temp]
|
160
160
|
params += " -INCLUDE \"#{settings[:include]}\"" if settings[:include]
|
161
|
-
|
161
|
+
if settings[:project]
|
162
|
+
if Dir[File.join(@source, "**/*.p3d")].size > 0 # TODO: Configurable?
|
163
|
+
params += " -PROJECT \"#{settings[:project]}\""
|
164
|
+
end
|
165
|
+
end
|
162
166
|
prefix = check_prefix(@source, '__AUTO__')
|
163
167
|
params += " -PREFIX #{prefix}" unless prefix.empty?
|
164
168
|
log.info "BinPBO: #{@source}"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: six-arma-tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ""
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date:
|
12
|
+
date: 2010-02-13 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|