Created
January 11, 2015 00:00
-
-
Save mlhales/abce39c879353fba9c72 to your computer and use it in GitHub Desktop.
Useful scalac options.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scalacOptions ++= Seq( | |
"-deprecation", | |
"-encoding", "UTF-8", // yes, this is 2 args | |
"-feature", | |
"-language:existentials", | |
"-language:higherKinds", | |
"-language:implicitConversions", | |
"-unchecked", | |
"-Xfatal-warnings", | |
"-Xlint", | |
"-Yno-adapted-args", | |
"-Ywarn-dead-code", // N.B. doesn't work well with the ??? hole | |
"-Ywarn-numeric-widen", | |
"-Ywarn-value-discard", | |
"-Xfuture", | |
"-Ywarn-unused-import" // 2.11 only | |
"-Yno-predef" // no automatic import of Predef (removes irritating implicits) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment