-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathbuild.sbt
59 lines (34 loc) · 2.62 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
50
51
52
53
54
55
56
57
58
59
organization := "underscore.io"
name := "scala-macros"
version := "1.0.0"
val commonSettings = Seq(
scalaVersion := "2.11.0",
scalacOptions ++= Seq("-deprecation", "-feature"),
libraryDependencies ++= Seq(
"org.scala-lang" % "scala-reflect" % scalaVersion.value,
"org.scala-lang.modules" %% "scala-parser-combinators" % "1.0.1",
"org.specs2" %% "specs2" % "2.3.12" % "test"
)
)
lazy val helloLib = project.in(file("hello/lib")).settings(commonSettings : _*)
lazy val hello = project.in(file("hello/app")).settings(commonSettings : _*).dependsOn(helloLib)
lazy val maximumLib = project.in(file("maximum/lib")).settings(commonSettings : _*)
lazy val maximum = project.in(file("maximum/app")).settings(commonSettings : _*).dependsOn(maximumLib)
lazy val printtreeLib = project.in(file("printtree/lib")).settings(commonSettings : _*)
lazy val printtree = project.in(file("printtree/app")).settings(commonSettings : _*).dependsOn(printtreeLib)
lazy val simpleassertLib = project.in(file("simpleassert/lib")).settings(commonSettings : _*)
lazy val simpleassert = project.in(file("simpleassert/app")).settings(commonSettings : _*).dependsOn(simpleassertLib)
lazy val betterassertLib = project.in(file("betterassert/lib")).settings(commonSettings : _*)
lazy val betterassert = project.in(file("betterassert/app")).settings(commonSettings : _*).dependsOn(betterassertLib)
lazy val printtypeLib = project.in(file("printtype/lib")).settings(commonSettings : _*)
lazy val printtype = project.in(file("printtype/app")).settings(commonSettings : _*).dependsOn(printtypeLib)
lazy val orderingsLib = project.in(file("orderings/lib")).settings(commonSettings : _*)
lazy val orderings = project.in(file("orderings/app")).settings(commonSettings : _*).dependsOn(orderingsLib)
lazy val enumerationsLib = project.in(file("enumerations/lib")).settings(commonSettings : _*)
lazy val enumerations = project.in(file("enumerations/app")).settings(commonSettings : _*).dependsOn(enumerationsLib)
lazy val whiteboxLib = project.in(file("whitebox/lib")).settings(commonSettings : _*)
lazy val whitebox = project.in(file("whitebox/app")).settings(commonSettings : _*).dependsOn(whiteboxLib)
lazy val validationLib = project.in(file("validation/lib")).settings(commonSettings : _*)
lazy val validation = project.in(file("validation/app")).settings(commonSettings : _*).dependsOn(validationLib)
lazy val csvLib = project.in(file("csv/lib")).settings(commonSettings : _*)
lazy val csv = project.in(file("csv/app")).settings(commonSettings : _*).dependsOn(csvLib)