vendor/buildr/lib/buildr/scala/compiler.rb
# Returns Scalac command line arguments from the set of options.
Returns Scalac command line arguments from the set of options.
Returns Scalac command line arguments from the set of options .
def scalac_args 
      args = []
      args << "-nowarn" unless options[:warnings]
      args << "-verbose" if trace?(:scalac)
      args << "-g" if options[:debug]
      args << "-deprecation" if options[:deprecation]
      args << "-optimise" if options[:optimise]
      args << "-target:jvm-" + options[:target].to_s if options[:target]
      args + Array(options[:other])
    end
def scalac_args args = [ ] args << "-nowarn" unless options [ :warnings ] args << "-verbose" if trace? ( :scalac ) args << "-g" if options [ :debug ] args << "-deprecation" if options [ :deprecation ] args << "-optimise" if options [ :optimise ] args << "-target:jvm-" + options [ :target ] . to_s if options [ :target ] args + Array ( options [ :other ] ) end
Returns Scalac command line arguments from the set of options.
Returns Scalac command line arguments from the set of options .
#:nodoc: