Skip to content

Commit

Permalink
put scalacOptions in separate file
Browse files Browse the repository at this point in the history
Signed-off-by: Konstantin Läufer <laufer@cs.luc.edu>
  • Loading branch information
klaeufer committed Aug 28, 2023
1 parent 273e274 commit edaf366
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .scalacOptions.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
-deprecation
-feature
-unchecked
-Wvalue-discard
-language:strictEquality
-Yexplicit-nulls
-Ysafe-init
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version := "0.4"

scalaVersion := "3.2.0"

scalacOptions ++= Seq("-deprecation", "-feature", "-unchecked", "-Yexplicit-nulls", "-Ysafe-init", "-language:strictEquality")
scalacOptions += "@.scalacOptions.txt"

libraryDependencies ++= Seq(
"org.scala-lang.modules" %% "scala-parser-combinators" % "2.3.0",
Expand Down

0 comments on commit edaf366

Please sign in to comment.