forked from stanch/reftree
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
36 lines (25 loc) · 958 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
organization := "org.stanch"
name := "reftree"
version := "0.3.1"
licenses := Seq(("GPL-3.0", url("http://www.gnu.org/licenses/gpl-3.0.en.html")))
scalaVersion := "2.11.8"
resolvers ++= Seq(
Resolver.bintrayRepo("drdozer", "maven")
)
libraryDependencies ++= Seq(
"com.chuusai" %% "shapeless" % "2.2.5",
"com.lihaoyi" %% "sourcecode" % "0.1.1",
"uk.co.turingatemyhamster" %% "gv-core" % "0.3.2",
"com.softwaremill.quicklens" %% "quicklens" % "1.4.6" % Provided,
"org.scalatest" %% "scalatest" % "2.2.6" % Test,
"com.lihaoyi" % "ammonite-repl" % "0.5.7" % Test cross CrossVersion.full
)
val predef = Seq(
"import reftree._",
"import scala.collection.immutable._",
"val defaultDiagram = Diagram(); import defaultDiagram.show"
).mkString(";")
initialCommands in (Test, console) := s"""ammonite.repl.Main.run("$predef"); System.exit(0)"""
addCommandAlias("amm", "test:console")
tutSettings
tutTargetDirectory := baseDirectory.value