Last active
September 5, 2015 01:06
-
-
Save Petesta/f8cbf947388c79fd1287 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sbt._ | |
import Keys._ | |
object BuildSettings { | |
val buildSettings = Seq( | |
scalaVersion := "2.11.4", | |
scalacOptions += "", | |
resolvers += Resolver.sonatypeRepo("snapshots"), | |
resolvers += Resolver.sonatypeRepo("releases") | |
) | |
} | |
object ScalaMacroDebugBuild extends Build { | |
import BuildSettings._ | |
lazy val root = (project in file(".") | |
aggregate(macros, examples) | |
settings(buildSettings: _*) | |
settings(moduleName := "root") | |
) | |
lazy val macros = (project in file("macros") | |
settings(buildSettings: _*) | |
settings( | |
moduleName := "macros", | |
libraryDependencies ++= Seq( | |
"org.scala-lang" % "scala-compiler" % "2.11.4", | |
"org.scala-lang" % "scala-reflect" % "2.11.4", | |
"com.chuusai" %% "shapeless" % "2.2.4" | |
) | |
) | |
) | |
lazy val examples = (project in file("examples") | |
dependsOn(macros) | |
settings(buildSettings: _*) | |
settings(moduleName := "examples") | |
) | |
} |
Author
Petesta
commented
Sep 5, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment