https://pantsbuild.org/ logo
#general
Title
# general
w

witty-crayon-22786

03/30/2016, 9:15 PM
Copy code
args: [
    '-C-encoding', '-CUTF-8',
    '-S-encoding', '-SUTF-8',
    '-S-g:vars',
    # see <https://reviewboard.twitter.biz/r/446503/>
    '-S-language:higherKinds',

    # This is intentionally in the default args section: never warn for generated files.
    '-file-filter', '/\.pants\.d/gen/',
    # Ditto: Suppress the warning for annotations with no processor.
    '-C-Xlint:-processing',
  ]
warning_args: [
    '-S-deprecation',
    '-S-unchecked',
    # request warnings for <http://www.scala-lang.org/api/2.10.4/index.html#scala.language$>
    '-S-feature',
    '-S-Xlint',
    '-C-Xlint:all', '-C-Xlint:-serial', '-C-Xlint:-path',
    '-C-deprecation',
    '-S-Ywarn-unused-import',
  ]
no_warning_args: [
    '-S-nowarn',
    '-C-Xlint:none',
    '-C-nowarn',
  ]