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.
Files changed (3) hide show
  1. data/Rakefile +1 -1
  2. data/lib/six/arma/tools/pbodll.rb +5 -1
  3. metadata +2 -2
data/Rakefile CHANGED
@@ -12,7 +12,7 @@ require 'rake/testtask'
12
12
 
13
13
  spec = Gem::Specification.new do |s|
14
14
  s.name = 'six-arma-tools'
15
- s.version = '0.1.0'
15
+ s.version = '0.1.1'
16
16
  s.has_rdoc = true
17
17
  s.extra_rdoc_files = ['README', 'LICENSE']
18
18
  s.summary = 'Your summary here'
@@ -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
- params += " -PROJECT \"#{settings[:project]}\"" if settings[:project]
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.0
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: 2009-12-16 00:00:00 +01:00
12
+ date: 2010-02-13 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies: []
15
15