buildr-ajc 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- 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
|