Top Level Namespace

Defined Under Namespace

Modules: Buildr

Instance Method Summary collapse

Instance Method Details

#compile_with_ajc(*opts) ⇒ Object



97
98
99
100
101
102
103
104
105
106
107
# File 'lib/ajc.rb', line 97

def compile_with_ajc(*opts)
  compile.using :ajc
  test.compile.using :ajc

  hash_opts = {}
  hash_opts ||= opts.last if Hash === opts.last
  compile.using hash_opts

  hash_opts[:test_apspectpath] = compile.target.to_s
  test.compile.using hash_opts
end