forked from stanford-ppl/Forge
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
40 lines (23 loc) · 991 Bytes
/
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
version := "0.1"
organization := "Stanford_PPL"
retrieveManaged := true
//scalaOrganization := "org.scala-lang.virtualized"
scalaVersion := virtScala
scalaSource in Compile <<= baseDirectory(_ / "src")
scalaSource in Test <<= baseDirectory(_ / "test-src")
//scalacOptions += "-Yvirtualize"
//scalacOptions += "-Yvirtpatmat"
scalacOptions in Compile ++= Seq("-unchecked", "-deprecation")
libraryDependencies += "org.scala-lang" % "scala-library" % virtScala
libraryDependencies += "org.scala-lang" % "scala-compiler" % virtScala
libraryDependencies += scalaTest
val paradiseVersion = "2.0.1"
libraryDependencies ++= (
if (scalaVersion.value.startsWith("2.10")) List("org.scalamacros" %% "quasiquotes" % paradiseVersion)
else Nil
)
addCompilerPlugin("org.scalamacros" % "paradise" % paradiseVersion cross CrossVersion.full)
// tests are not thread safe
parallelExecution in Test := false
// disable publishing of main docs
publishArtifact in (Compile, packageDoc) := false