Skip to content

Commit 6e677ba

Browse files
committed
Add -Xfatal-warnings to dotty-compiler projects
1 parent e85f71e commit 6e677ba

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

project/Build.scala

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -574,6 +574,11 @@ object Build {
574574
// Add git-hash used to package the distribution to the manifest to know it in runtime and report it in REPL
575575
packageOptions += ManifestAttributes(("Git-Hash", VersionUtil.gitHash)),
576576

577+
scalacOptions ++= Seq(
578+
"-Xfatal-warnings",
579+
"-unchecked"
580+
),
581+
577582
// http://grokbase.com/t/gg/simple-build-tool/135ke5y90p/sbt-setting-jvm-boot-paramaters-for-scala
578583
// packageAll should always be run before tests
579584
javaOptions ++= {

0 commit comments

Comments
 (0)