-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
49 lines (42 loc) · 1.49 KB
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
val Scala3Version = "3.1.2"
ThisBuild / scalaVersion := Scala3Version
ThisBuild / run / javaOptions += "--add-modules=jdk.incubator.vector"
lazy val utils = (
project.in(file("utils"))
.settings(
libraryDependencies ++= List(
"org.scala-lang" %% "scala3-staging" % scalaVersion.value,
"com.novocode" % "junit-interface" % "0.11" % "test"))
)
def mkProject(name: String, path: String) = (
Project.apply(name, file(path))
.settings(
libraryDependencies ++= List(
"org.scala-lang" %% "scala3-staging" % scalaVersion.value,
"com.novocode" % "junit-interface" % "0.11" % "test"))
.dependsOn(utils)
)
def mkBench(benchmarked: Project, path: String) = (
Project.apply(benchmarked.id + "-bench", file(path)).dependsOn(benchmarked).enablePlugins(JmhPlugin)
)
// adt --{
lazy val adt1 = mkProject("adt1", "adt-compiler/adt-1")
// }--
// dot -- {
lazy val dot1 = mkProject("dot1", "dot/dot-1")
lazy val dot2 = mkProject("dot2", "dot/dot-2")
lazy val dot3 = mkProject("dot3", "dot/dot-3")
lazy val dot4 = mkProject("dot4", "dot/dot-4")
lazy val dot5 = mkProject("dot5", "dot/dot-5")
lazy val dot6 = mkProject("dot6", "dot/dot-6")
lazy val dot7 = mkProject("dot7", "dot/dot-7")
lazy val dot8 = mkProject("dot8", "dot/dot-8")
lazy val dotBench = mkBench(dot8, "dot/benchmark")
// }
// power --{
lazy val power1 = mkProject("pow1", "power/power-1")
lazy val power2 = mkProject("pow2", "power/power-2")
// }--
// regexp --{
lazy val regexp1 = mkProject("regexp1", "regexp/regexp-1")
// }