buildr-hx 0.0.1.pre → 0.0.2.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 +1 -1
- data/buildr-hx.gemspec +90 -0
- data/buildr-hx.iml +28 -0
- data/lib/buildr/hx/compiler/haxe_compiler_base.rb +57 -0
- data/lib/buildr/hx/compiler/hxjs.rb +25 -0
- data/lib/buildr/hx/compiler/hxswf.rb +26 -0
- data/lib/buildr/hx/compiler.rb +28 -0
- data/lib/buildr/hx/project.rb +37 -0
- data/lib/buildr/hx.rb +4 -0
- data/spec/hx/compiler/hxswf_spec.rb +9 -0
- data/spec/spec_helper.rb +1 -1
- metadata +29 -21
- data/lib/buildr-hx.rb +0 -0
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.2.pre
|
data/buildr-hx.gemspec
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
# Generated by jeweler
|
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
|
+
# -*- encoding: utf-8 -*-
|
|
5
|
+
|
|
6
|
+
Gem::Specification.new do |s|
|
|
7
|
+
s.name = "buildr-hx"
|
|
8
|
+
s.version = "0.0.2.pre"
|
|
9
|
+
|
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
|
|
11
|
+
s.authors = ["Dominic Graefen"]
|
|
12
|
+
s.date = "2011-11-17"
|
|
13
|
+
s.description = "Build like you code - now supporting haXe"
|
|
14
|
+
s.email = "dominic @nospam@ devboy.org"
|
|
15
|
+
s.extra_rdoc_files = [
|
|
16
|
+
"LICENSE.txt",
|
|
17
|
+
"README.rdoc"
|
|
18
|
+
]
|
|
19
|
+
s.files = [
|
|
20
|
+
".document",
|
|
21
|
+
"Gemfile",
|
|
22
|
+
"Gemfile.lock",
|
|
23
|
+
"LICENSE.txt",
|
|
24
|
+
"README.rdoc",
|
|
25
|
+
"Rakefile",
|
|
26
|
+
"VERSION",
|
|
27
|
+
"buildr-hx.gemspec",
|
|
28
|
+
"buildr-hx.iml",
|
|
29
|
+
"lib/buildr/hx.rb",
|
|
30
|
+
"lib/buildr/hx/compiler.rb",
|
|
31
|
+
"lib/buildr/hx/compiler/haxe_compiler_base.rb",
|
|
32
|
+
"lib/buildr/hx/compiler/hxjs.rb",
|
|
33
|
+
"lib/buildr/hx/compiler/hxswf.rb",
|
|
34
|
+
"lib/buildr/hx/project.rb",
|
|
35
|
+
"rake/jeweler.rb",
|
|
36
|
+
"rake/jeweler_prerelease_tasks.rb",
|
|
37
|
+
"rake/pre_release_gemspec.rb",
|
|
38
|
+
"rake/pre_release_to_git.rb",
|
|
39
|
+
"spec/hx/compiler/hxswf_spec.rb",
|
|
40
|
+
"spec/sandbox.rb",
|
|
41
|
+
"spec/spec_helper.rb"
|
|
42
|
+
]
|
|
43
|
+
s.homepage = "http://github.com/devboy/buildr-hx"
|
|
44
|
+
s.licenses = ["MIT"]
|
|
45
|
+
s.require_paths = ["lib"]
|
|
46
|
+
s.rubygems_version = "1.8.11"
|
|
47
|
+
s.summary = "Buildr extension to allow haXe development."
|
|
48
|
+
s.test_files = [
|
|
49
|
+
"spec/hx/compiler/hxswf_spec.rb",
|
|
50
|
+
"spec/sandbox.rb",
|
|
51
|
+
"spec/spec_helper.rb"
|
|
52
|
+
]
|
|
53
|
+
|
|
54
|
+
if s.respond_to? :specification_version then
|
|
55
|
+
s.specification_version = 3
|
|
56
|
+
|
|
57
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
|
58
|
+
s.add_development_dependency(%q<buildr>, ["~> 1.4.6"])
|
|
59
|
+
s.add_development_dependency(%q<shoulda>, [">= 0"])
|
|
60
|
+
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
|
|
61
|
+
s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
|
|
62
|
+
s.add_development_dependency(%q<simplecov>, [">= 0"])
|
|
63
|
+
s.add_development_dependency(%q<simplecov-rcov>, [">= 0"])
|
|
64
|
+
s.add_development_dependency(%q<rspec>, ["~> 2.1.0"])
|
|
65
|
+
s.add_development_dependency(%q<ci_reporter>, ["~> 1.6.5"])
|
|
66
|
+
s.add_runtime_dependency(%q<buildr>, [">= 1.4.6"])
|
|
67
|
+
else
|
|
68
|
+
s.add_dependency(%q<buildr>, ["~> 1.4.6"])
|
|
69
|
+
s.add_dependency(%q<shoulda>, [">= 0"])
|
|
70
|
+
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
|
71
|
+
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
|
72
|
+
s.add_dependency(%q<simplecov>, [">= 0"])
|
|
73
|
+
s.add_dependency(%q<simplecov-rcov>, [">= 0"])
|
|
74
|
+
s.add_dependency(%q<rspec>, ["~> 2.1.0"])
|
|
75
|
+
s.add_dependency(%q<ci_reporter>, ["~> 1.6.5"])
|
|
76
|
+
s.add_dependency(%q<buildr>, [">= 1.4.6"])
|
|
77
|
+
end
|
|
78
|
+
else
|
|
79
|
+
s.add_dependency(%q<buildr>, ["~> 1.4.6"])
|
|
80
|
+
s.add_dependency(%q<shoulda>, [">= 0"])
|
|
81
|
+
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
|
82
|
+
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
|
83
|
+
s.add_dependency(%q<simplecov>, [">= 0"])
|
|
84
|
+
s.add_dependency(%q<simplecov-rcov>, [">= 0"])
|
|
85
|
+
s.add_dependency(%q<rspec>, ["~> 2.1.0"])
|
|
86
|
+
s.add_dependency(%q<ci_reporter>, ["~> 1.6.5"])
|
|
87
|
+
s.add_dependency(%q<buildr>, [">= 1.4.6"])
|
|
88
|
+
end
|
|
89
|
+
end
|
|
90
|
+
|
data/buildr-hx.iml
CHANGED
|
@@ -5,6 +5,34 @@
|
|
|
5
5
|
<content url="file://$MODULE_DIR$" />
|
|
6
6
|
<orderEntry type="jdk" jdkName="RVM: ruby-1.9.2-p180" jdkType="RUBY_SDK" />
|
|
7
7
|
<orderEntry type="sourceFolder" forTests="false" />
|
|
8
|
+
<orderEntry type="library" scope="PROVIDED" name="simplecov-rcov (v0.2.3, RVM: ruby-1.9.2-p180) [gem]" level="application" />
|
|
9
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v2.1.0, RVM: ruby-1.9.2-p180) [gem]" level="application" />
|
|
10
|
+
<orderEntry type="library" scope="PROVIDED" name="minitar (v0.5.3, RVM: ruby-1.9.2-p180) [gem]" level="application" />
|
|
11
|
+
<orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.1.2, RVM: ruby-1.9.2-p180) [gem]" level="application" />
|
|
12
|
+
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.0.21, RVM: ruby-1.9.2-p180) [gem]" level="application" />
|
|
13
|
+
<orderEntry type="library" scope="PROVIDED" name="rubyforge (v2.0.3, RVM: ruby-1.9.2-p180) [gem]" level="application" />
|
|
14
|
+
<orderEntry type="library" scope="PROVIDED" name="rjb (v1.3.3, RVM: ruby-1.9.2-p180) [gem]" level="application" />
|
|
15
|
+
<orderEntry type="library" scope="PROVIDED" name="json_pure (v1.4.3, RVM: ruby-1.9.2-p180) [gem]" level="application" />
|
|
16
|
+
<orderEntry type="library" scope="PROVIDED" name="rubyzip (v0.9.4, RVM: ruby-1.9.2-p180) [gem]" level="application" />
|
|
17
|
+
<orderEntry type="library" scope="PROVIDED" name="ci_reporter (v1.6.5, RVM: ruby-1.9.2-p180) [gem]" level="application" />
|
|
18
|
+
<orderEntry type="library" scope="PROVIDED" name="atoulme-Antwrap (v0.7.1, RVM: ruby-1.9.2-p180) [gem]" level="application" />
|
|
19
|
+
<orderEntry type="library" scope="PROVIDED" name="net-ssh (v2.0.23, RVM: ruby-1.9.2-p180) [gem]" level="application" />
|
|
20
|
+
<orderEntry type="library" scope="PROVIDED" name="simplecov-html (v0.5.3, RVM: ruby-1.9.2-p180) [gem]" level="application" />
|
|
21
|
+
<orderEntry type="library" scope="PROVIDED" name="simplecov (v0.5.4, RVM: ruby-1.9.2-p180) [gem]" level="application" />
|
|
22
|
+
<orderEntry type="library" scope="PROVIDED" name="buildr (v1.4.6, RVM: ruby-1.9.2-p180) [gem]" level="application" />
|
|
23
|
+
<orderEntry type="library" scope="PROVIDED" name="shoulda (v2.11.3, RVM: ruby-1.9.2-p180) [gem]" level="application" />
|
|
24
|
+
<orderEntry type="library" scope="PROVIDED" name="jeweler (v1.5.2, RVM: ruby-1.9.2-p180) [gem]" level="application" />
|
|
25
|
+
<orderEntry type="library" scope="PROVIDED" name="highline (v1.5.1, RVM: ruby-1.9.2-p180) [gem]" level="application" />
|
|
26
|
+
<orderEntry type="library" scope="PROVIDED" name="xml-simple (v1.0.12, RVM: ruby-1.9.2-p180) [gem]" level="application" />
|
|
27
|
+
<orderEntry type="library" scope="PROVIDED" name="multi_json (v1.0.3, RVM: ruby-1.9.2-p180) [gem]" level="application" />
|
|
28
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec (v2.1.0, RVM: ruby-1.9.2-p180) [gem]" level="application" />
|
|
29
|
+
<orderEntry type="library" scope="PROVIDED" name="rake (v0.8.7, RVM: ruby-1.9.2-p180) [gem]" level="application" />
|
|
30
|
+
<orderEntry type="library" scope="PROVIDED" name="hoe (v2.3.3, RVM: ruby-1.9.2-p180) [gem]" level="application" />
|
|
31
|
+
<orderEntry type="library" scope="PROVIDED" name="net-sftp (v2.0.4, RVM: ruby-1.9.2-p180) [gem]" level="application" />
|
|
32
|
+
<orderEntry type="library" scope="PROVIDED" name="builder (v2.1.2, RVM: ruby-1.9.2-p180) [gem]" level="application" />
|
|
33
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v2.1.0, RVM: ruby-1.9.2-p180) [gem]" level="application" />
|
|
34
|
+
<orderEntry type="library" scope="PROVIDED" name="git (v1.2.5, RVM: ruby-1.9.2-p180) [gem]" level="application" />
|
|
35
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-core (v2.1.0, RVM: ruby-1.9.2-p180) [gem]" level="application" />
|
|
8
36
|
</component>
|
|
9
37
|
</module>
|
|
10
38
|
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
module Buildr
|
|
2
|
+
module Haxe
|
|
3
|
+
module Compiler
|
|
4
|
+
class HaxeCompilerBase < Buildr::Compiler::Base
|
|
5
|
+
|
|
6
|
+
COMPILE_OPTIONS = [:warnings, :debug, :args, :main, :output]
|
|
7
|
+
|
|
8
|
+
def initialize(project, options)
|
|
9
|
+
super
|
|
10
|
+
options[:debug] = Buildr.options.debug if options[:debug].nil?
|
|
11
|
+
options[:warnings] ||= true
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
def compile(sources, target, dependencies)
|
|
15
|
+
check_options options, COMPILE_OPTIONS
|
|
16
|
+
args = ["haxe"]
|
|
17
|
+
args += generate_source_args sources
|
|
18
|
+
args += base_compiler_args
|
|
19
|
+
args += compiler_args if respond_to? :compiler_args
|
|
20
|
+
unless Buildr.application.options.dryrun
|
|
21
|
+
sh args.join " "
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
def needed?(sources, target, dependencies)
|
|
26
|
+
return true unless File.exist?(@project.get_hx_output(is_test(sources,target,dependencies)))
|
|
27
|
+
source_files = Dir.glob(sources.collect{|source| source = "#{source}/**/*"})
|
|
28
|
+
dep_files = dependencies.collect{ |dep|
|
|
29
|
+
File.directory?(dep) ? Dir.glob("#{dep}/**/*") : dep
|
|
30
|
+
}.flatten
|
|
31
|
+
maxtime = (source_files + dep_files).collect{ |file| File.stat(file).mtime }.max || Time.at(0)
|
|
32
|
+
maxtime > File.stat(@project.get_hx_output(is_test(sources,target,dependencies))).mtime
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
private
|
|
36
|
+
|
|
37
|
+
def base_compiler_args #:nodoc:
|
|
38
|
+
args = []
|
|
39
|
+
args << "-main #{options[:main]}"
|
|
40
|
+
args << '-prompt' if options[:warnings]
|
|
41
|
+
args << '-debug' if options[:debug]
|
|
42
|
+
args + Array(options[:args])
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
def generate_source_args sources
|
|
46
|
+
sources.collect { |source| "-cp #{source}"}
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
def is_test( sources, target, dependencies )
|
|
50
|
+
test_task = @project.test.compile
|
|
51
|
+
sources==test_task.sources && dependencies==test_task.dependencies.collect{|dep|dep.to_s} && target==test_task.target.to_s
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
end
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
module Buildr
|
|
2
|
+
module Haxe
|
|
3
|
+
module Compiler
|
|
4
|
+
class HXJS < HaxeCompilerBase
|
|
5
|
+
|
|
6
|
+
specify :language => :haxe,
|
|
7
|
+
:sources => :hx, :source_ext => :hx,
|
|
8
|
+
:target_ext => "js",
|
|
9
|
+
:packaging => :js
|
|
10
|
+
|
|
11
|
+
COMPILE_OPTIONS << :version
|
|
12
|
+
|
|
13
|
+
def compile(sources, target, dependencies) #:nodoc:
|
|
14
|
+
@output = @project.get_hx_output(is_test(sources,target,dependencies))
|
|
15
|
+
super
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
def compiler_args
|
|
19
|
+
[ "-js #{@output}" ]
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
module Buildr
|
|
2
|
+
module Haxe
|
|
3
|
+
module Compiler
|
|
4
|
+
class HXSWF < HaxeCompilerBase
|
|
5
|
+
|
|
6
|
+
specify :language => :haxe,
|
|
7
|
+
:sources => :hx, :source_ext => :hx,
|
|
8
|
+
:target_ext => "swf",
|
|
9
|
+
:packaging => :swf
|
|
10
|
+
|
|
11
|
+
COMPILE_OPTIONS << :version
|
|
12
|
+
|
|
13
|
+
def compile(sources, target, dependencies)
|
|
14
|
+
@output = @project.get_hx_output(is_test(sources,target,dependencies))
|
|
15
|
+
super
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
def compiler_args
|
|
19
|
+
[ "-swf #{@output}",
|
|
20
|
+
"-swf-version #{options[:version]}" ]
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
#
|
|
2
|
+
# Copyright (C) 2011 by Dominic Graefen / http://devboy.org
|
|
3
|
+
#
|
|
4
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
|
+
# of this software and associated documentation files (the "Software"), to deal
|
|
6
|
+
# in the Software without restriction, including without limitation the rights
|
|
7
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
8
|
+
# copies of the Software, and to permit persons to whom the Software is
|
|
9
|
+
# furnished to do so, subject to the following conditions:
|
|
10
|
+
#
|
|
11
|
+
# The above copyright notice and this permission notice shall be included in
|
|
12
|
+
# all copies or substantial portions of the Software.
|
|
13
|
+
#
|
|
14
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
16
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
17
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
18
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
19
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
20
|
+
# THE SOFTWARE.
|
|
21
|
+
#
|
|
22
|
+
|
|
23
|
+
require File.dirname(__FILE__) + '/compiler/haxe_compiler_base'
|
|
24
|
+
require File.dirname(__FILE__) + '/compiler/hxswf'
|
|
25
|
+
require File.dirname(__FILE__) + '/compiler/hxjs'
|
|
26
|
+
|
|
27
|
+
Buildr::Compiler << Buildr::Haxe::Compiler::HXSWF
|
|
28
|
+
Buildr::Compiler << Buildr::Haxe::Compiler::HXJS
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
#
|
|
2
|
+
# Copyright (C) 2011 by Dominic Graefen / http://devboy.org
|
|
3
|
+
#
|
|
4
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
|
+
# of this software and associated documentation files (the "Software"), to deal
|
|
6
|
+
# in the Software without restriction, including without limitation the rights
|
|
7
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
8
|
+
# copies of the Software, and to permit persons to whom the Software is
|
|
9
|
+
# furnished to do so, subject to the following conditions:
|
|
10
|
+
#
|
|
11
|
+
# The above copyright notice and this permission notice shall be included in
|
|
12
|
+
# all copies or substantial portions of the Software.
|
|
13
|
+
#
|
|
14
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
16
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
17
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
18
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
19
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
20
|
+
# THE SOFTWARE.
|
|
21
|
+
#
|
|
22
|
+
|
|
23
|
+
require "buildr"
|
|
24
|
+
|
|
25
|
+
class Buildr::Project
|
|
26
|
+
|
|
27
|
+
def get_hx_output( is_test = false )
|
|
28
|
+
compile_task = is_test ? test.compile : compile
|
|
29
|
+
target = compile_task.target
|
|
30
|
+
options = compile_task.options
|
|
31
|
+
main = options[:main].to_s
|
|
32
|
+
return compile_task.options[:output] if compile_task.options.has_key? :output
|
|
33
|
+
return "#{target}/#{File.basename(main, File.extname(main))}.#{compile_task.packaging.to_s}" unless compile_task.packaging.nil?
|
|
34
|
+
fail("Could not guess output file for #{name}")
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
end
|
data/lib/buildr/hx.rb
ADDED
data/spec/spec_helper.rb
CHANGED
|
@@ -44,7 +44,7 @@ unless defined?(SpecHelpers)
|
|
|
44
44
|
require path
|
|
45
45
|
end
|
|
46
46
|
#require 'buildr'
|
|
47
|
-
require File.dirname( __FILE__) + '/../lib/buildr/
|
|
47
|
+
require File.dirname( __FILE__) + '/../lib/buildr/hx'
|
|
48
48
|
# load ecj
|
|
49
49
|
#require 'buildr/java/ecj'
|
|
50
50
|
#Make ecj appear as a compiler that doesn't apply:
|
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.
|
|
4
|
+
version: 0.0.2.pre
|
|
5
5
|
prerelease: 6
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -13,7 +13,7 @@ date: 2011-11-17 00:00:00.000000000Z
|
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: buildr
|
|
16
|
-
requirement: &
|
|
16
|
+
requirement: &2153870420 !ruby/object:Gem::Requirement
|
|
17
17
|
none: false
|
|
18
18
|
requirements:
|
|
19
19
|
- - ~>
|
|
@@ -21,10 +21,10 @@ dependencies:
|
|
|
21
21
|
version: 1.4.6
|
|
22
22
|
type: :development
|
|
23
23
|
prerelease: false
|
|
24
|
-
version_requirements: *
|
|
24
|
+
version_requirements: *2153870420
|
|
25
25
|
- !ruby/object:Gem::Dependency
|
|
26
26
|
name: shoulda
|
|
27
|
-
requirement: &
|
|
27
|
+
requirement: &2153868280 !ruby/object:Gem::Requirement
|
|
28
28
|
none: false
|
|
29
29
|
requirements:
|
|
30
30
|
- - ! '>='
|
|
@@ -32,10 +32,10 @@ dependencies:
|
|
|
32
32
|
version: '0'
|
|
33
33
|
type: :development
|
|
34
34
|
prerelease: false
|
|
35
|
-
version_requirements: *
|
|
35
|
+
version_requirements: *2153868280
|
|
36
36
|
- !ruby/object:Gem::Dependency
|
|
37
37
|
name: bundler
|
|
38
|
-
requirement: &
|
|
38
|
+
requirement: &2153867320 !ruby/object:Gem::Requirement
|
|
39
39
|
none: false
|
|
40
40
|
requirements:
|
|
41
41
|
- - ~>
|
|
@@ -43,10 +43,10 @@ dependencies:
|
|
|
43
43
|
version: 1.0.0
|
|
44
44
|
type: :development
|
|
45
45
|
prerelease: false
|
|
46
|
-
version_requirements: *
|
|
46
|
+
version_requirements: *2153867320
|
|
47
47
|
- !ruby/object:Gem::Dependency
|
|
48
48
|
name: jeweler
|
|
49
|
-
requirement: &
|
|
49
|
+
requirement: &2153866180 !ruby/object:Gem::Requirement
|
|
50
50
|
none: false
|
|
51
51
|
requirements:
|
|
52
52
|
- - ~>
|
|
@@ -54,10 +54,10 @@ dependencies:
|
|
|
54
54
|
version: 1.5.2
|
|
55
55
|
type: :development
|
|
56
56
|
prerelease: false
|
|
57
|
-
version_requirements: *
|
|
57
|
+
version_requirements: *2153866180
|
|
58
58
|
- !ruby/object:Gem::Dependency
|
|
59
59
|
name: simplecov
|
|
60
|
-
requirement: &
|
|
60
|
+
requirement: &2153865120 !ruby/object:Gem::Requirement
|
|
61
61
|
none: false
|
|
62
62
|
requirements:
|
|
63
63
|
- - ! '>='
|
|
@@ -65,10 +65,10 @@ dependencies:
|
|
|
65
65
|
version: '0'
|
|
66
66
|
type: :development
|
|
67
67
|
prerelease: false
|
|
68
|
-
version_requirements: *
|
|
68
|
+
version_requirements: *2153865120
|
|
69
69
|
- !ruby/object:Gem::Dependency
|
|
70
70
|
name: simplecov-rcov
|
|
71
|
-
requirement: &
|
|
71
|
+
requirement: &2153864320 !ruby/object:Gem::Requirement
|
|
72
72
|
none: false
|
|
73
73
|
requirements:
|
|
74
74
|
- - ! '>='
|
|
@@ -76,10 +76,10 @@ dependencies:
|
|
|
76
76
|
version: '0'
|
|
77
77
|
type: :development
|
|
78
78
|
prerelease: false
|
|
79
|
-
version_requirements: *
|
|
79
|
+
version_requirements: *2153864320
|
|
80
80
|
- !ruby/object:Gem::Dependency
|
|
81
81
|
name: rspec
|
|
82
|
-
requirement: &
|
|
82
|
+
requirement: &2153863440 !ruby/object:Gem::Requirement
|
|
83
83
|
none: false
|
|
84
84
|
requirements:
|
|
85
85
|
- - ~>
|
|
@@ -87,10 +87,10 @@ dependencies:
|
|
|
87
87
|
version: 2.1.0
|
|
88
88
|
type: :development
|
|
89
89
|
prerelease: false
|
|
90
|
-
version_requirements: *
|
|
90
|
+
version_requirements: *2153863440
|
|
91
91
|
- !ruby/object:Gem::Dependency
|
|
92
92
|
name: ci_reporter
|
|
93
|
-
requirement: &
|
|
93
|
+
requirement: &2153862640 !ruby/object:Gem::Requirement
|
|
94
94
|
none: false
|
|
95
95
|
requirements:
|
|
96
96
|
- - ~>
|
|
@@ -98,10 +98,10 @@ dependencies:
|
|
|
98
98
|
version: 1.6.5
|
|
99
99
|
type: :development
|
|
100
100
|
prerelease: false
|
|
101
|
-
version_requirements: *
|
|
101
|
+
version_requirements: *2153862640
|
|
102
102
|
- !ruby/object:Gem::Dependency
|
|
103
103
|
name: buildr
|
|
104
|
-
requirement: &
|
|
104
|
+
requirement: &2153861900 !ruby/object:Gem::Requirement
|
|
105
105
|
none: false
|
|
106
106
|
requirements:
|
|
107
107
|
- - ! '>='
|
|
@@ -109,7 +109,7 @@ dependencies:
|
|
|
109
109
|
version: 1.4.6
|
|
110
110
|
type: :runtime
|
|
111
111
|
prerelease: false
|
|
112
|
-
version_requirements: *
|
|
112
|
+
version_requirements: *2153861900
|
|
113
113
|
description: Build like you code - now supporting haXe
|
|
114
114
|
email: dominic @nospam@ devboy.org
|
|
115
115
|
executables: []
|
|
@@ -125,12 +125,19 @@ files:
|
|
|
125
125
|
- README.rdoc
|
|
126
126
|
- Rakefile
|
|
127
127
|
- VERSION
|
|
128
|
+
- buildr-hx.gemspec
|
|
128
129
|
- buildr-hx.iml
|
|
129
|
-
- lib/buildr
|
|
130
|
+
- lib/buildr/hx.rb
|
|
131
|
+
- lib/buildr/hx/compiler.rb
|
|
132
|
+
- lib/buildr/hx/compiler/haxe_compiler_base.rb
|
|
133
|
+
- lib/buildr/hx/compiler/hxjs.rb
|
|
134
|
+
- lib/buildr/hx/compiler/hxswf.rb
|
|
135
|
+
- lib/buildr/hx/project.rb
|
|
130
136
|
- rake/jeweler.rb
|
|
131
137
|
- rake/jeweler_prerelease_tasks.rb
|
|
132
138
|
- rake/pre_release_gemspec.rb
|
|
133
139
|
- rake/pre_release_to_git.rb
|
|
140
|
+
- spec/hx/compiler/hxswf_spec.rb
|
|
134
141
|
- spec/sandbox.rb
|
|
135
142
|
- spec/spec_helper.rb
|
|
136
143
|
homepage: http://github.com/devboy/buildr-hx
|
|
@@ -148,7 +155,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
148
155
|
version: '0'
|
|
149
156
|
segments:
|
|
150
157
|
- 0
|
|
151
|
-
hash:
|
|
158
|
+
hash: 2008168413784586192
|
|
152
159
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
153
160
|
none: false
|
|
154
161
|
requirements:
|
|
@@ -162,5 +169,6 @@ signing_key:
|
|
|
162
169
|
specification_version: 3
|
|
163
170
|
summary: Buildr extension to allow haXe development.
|
|
164
171
|
test_files:
|
|
172
|
+
- spec/hx/compiler/hxswf_spec.rb
|
|
165
173
|
- spec/sandbox.rb
|
|
166
174
|
- spec/spec_helper.rb
|
data/lib/buildr-hx.rb
DELETED
|
File without changes
|