buildr-ajc 1.0.2 → 1.0.3
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/Rakefile +1 -1
- data/lib/ajc.rb +1 -4
- metadata +2 -2
data/Rakefile
CHANGED
data/lib/ajc.rb
CHANGED
@@ -108,11 +108,8 @@ Buildr::Compiler << Buildr::Compiler::Ajc
|
|
108
108
|
def compile_with_ajc(*opts)
|
109
109
|
compile.using :ajc
|
110
110
|
test.compile.using :ajc
|
111
|
-
|
112
|
-
hash_opts ||= opts.last if Hash === opts.last
|
113
|
-
puts "++++ #{hash_opts.inspect}"
|
111
|
+
hash_opts = Hash === opts.last ? opts.last : {}
|
114
112
|
compile.using hash_opts
|
115
|
-
|
116
113
|
hash_opts[:test_apspectpath] = compile.target.to_s
|
117
114
|
test.compile.using hash_opts
|
118
115
|
end
|