buildr-hx 0.0.18.pre → 0.0.19.pre

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.18.pre
1
+ 0.0.19.pre
data/buildr-hx.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "buildr-hx"
8
- s.version = "0.0.18.pre"
8
+ s.version = "0.0.19.pre"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Dominic Graefen"]
12
- s.date = "2012-03-30"
12
+ s.date = "2012-04-03"
13
13
  s.description = "Build like you code - now supporting haXe"
14
14
  s.email = "dominic @nospam@ devboy.org"
15
15
  s.extra_rdoc_files = [
@@ -9,6 +9,7 @@ module Buildr
9
9
  super
10
10
  options[:debug] = Buildr.options.debug if options[:debug].nil?
11
11
  options[:warnings] ||= true
12
+ options[:flags] ||= []
12
13
  end
13
14
 
14
15
  def compile(sources, target, dependencies)
@@ -47,6 +48,7 @@ module Buildr
47
48
  args << "-main #{options[:main]}"
48
49
  args << '-debug' if options[:debug]
49
50
  args += options[:resources].map{|id,path| "-resource #{path}@#{id.to_s}"} unless options[:resources].nil?
51
+ options[:flags] << "ENV_#{Buildr.environment.upcase}"
50
52
  args += options[:flags].map{|flag| "-D #{flag.to_s}"} unless options[:flags].nil?
51
53
  args + Array(options[:args])
52
54
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: buildr-hx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.18.pre
4
+ version: 0.0.19.pre
5
5
  prerelease: 7
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-30 00:00:00.000000000 Z
12
+ date: 2012-04-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: buildr
@@ -213,7 +213,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
213
213
  version: '0'
214
214
  segments:
215
215
  - 0
216
- hash: -1145822684990440887
216
+ hash: -1325917061067826217
217
217
  required_rubygems_version: !ruby/object:Gem::Requirement
218
218
  none: false
219
219
  requirements: