We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4766538 commit 76344cfCopy full SHA for 76344cf
build.sbt
@@ -3,6 +3,7 @@ organization := "org.enso"
3
scalaVersion := "2.12.8"
4
5
lazy val Benchmark = config("bench") extend Test
6
+lazy val bench = taskKey[Unit]("Run Benchmarks")
7
8
lazy val enso = (project in file(".")).aggregate(syntax)
9
@@ -30,4 +31,7 @@ lazy val syntax = (project in file("syntax"))
30
31
logBuffered := false
32
)
33
.settings(SbtJFlexPlugin.jflexSettings)
- .settings(mainClass in (Compile,run) := Some("org.enso.syntax.Main"))
34
+ .settings(mainClass in (Compile,run) := Some("org.enso.syntax.Main"))
35
+ .settings(bench := {
36
+ (test in Benchmark).value
37
+ })
0 commit comments