Skip to content

Commit

Permalink
Add alias for performance testing
Browse files Browse the repository at this point in the history
  • Loading branch information
susuro committed Aug 15, 2024
1 parent c01636e commit d5ef9f9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ lazy val basicSettings = Seq(
)

addCommandAlias("validate", "; compile; Test/compile; scalafmtCheck; test")
addCommandAlias("evaluate", "; test; project benchmark; Jmh/run -i 3 -wi 1 -f1 -t1; project root")

lazy val root = (project in file("."))
.settings(basicSettings: _*)
Expand Down Expand Up @@ -42,11 +43,11 @@ lazy val scalacSettings = Seq(
"-explain-types", // Explain type errors in more detail.
"-feature", // Emit warning and location for usages of features that should be imported explicitly.
"-language:higherKinds,implicitConversions", // Enable language features.
"-new-syntax", // Require Scala 3 syntax
"-new-syntax", // Require Scala 3 syntax
"-pagewidth:120", // Set output page width.
"-unchecked", // Enable additional warnings where generated code depends on assumptions.
"-Wvalue-discard", // Warn about unused expression results.
"-Wunused:all", // Warn about unused code
"-Wunused:all", // Warn about unused code
"-Wconf:cat=deprecation:w,unused:w,any:e", // Fail the compilation if there are any warnings except deprecation.
"-Xtarget:17", // Set target JVM version.
"-Xverify-signatures", // Verify generic signatures in generated bytecode.
Expand Down

0 comments on commit d5ef9f9

Please sign in to comment.