diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2013-07-02 11:45:58 +0200 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2013-07-02 11:45:58 +0200 |
commit | 232a0bb3c9b808ccd2245087ddb296163aefa451 (patch) | |
tree | 62affc74c7abfa7d3b57ebc53a8f47460a682c55 | |
parent | 9156cbeb944db80245766c317f43434b4c1981e5 (diff) | |
download | scala-async-232a0bb3c9b808ccd2245087ddb296163aefa451.tar.gz scala-async-232a0bb3c9b808ccd2245087ddb296163aefa451.tar.bz2 scala-async-232a0bb3c9b808ccd2245087ddb296163aefa451.zip |
Build maintainence
- Update to SBT 0.12.4
- Update to Scala 2.10.2
- Provide a means to disable test compilation (other then TreeInterrogation)
This is handy when doing major renovations to the macro implementation.
- Explicitly depend on scala-compiler (we'll need that in the next commit)
- Declare the dependencies on scala-{reflect, compiler} as "provided" to avoid
adding them the runtime classpath of upstream projects. They are only needed
at compile time.
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | build.sbt | 9 | ||||
-rw-r--r-- | project/build.properties | 2 |
3 files changed, 8 insertions, 4 deletions
@@ -3,3 +3,4 @@ target .idea .idea_modules *.icode +project/local.sbt
\ No newline at end of file @@ -1,4 +1,4 @@ -scalaVersion := "2.10.1" +scalaVersion := "2.10.2" organization := "org.typesafe.async" // TODO new org name under scala-lang. @@ -8,8 +8,8 @@ version := "1.0.0-SNAPSHOT" libraryDependencies <++= (scalaVersion) { sv => Seq( - "org.scala-lang" % "scala-reflect" % sv, - "org.scala-lang" % "scala-compiler" % sv % "test" + "org.scala-lang" % "scala-reflect" % sv % "provided", + "org.scala-lang" % "scala-compiler" % sv % "provided" ) } @@ -40,6 +40,9 @@ startYear := Some(2012) licenses +=("Scala license", url("https://github.com/scala/async/blob/master/LICENSE")) +// Uncomment to disable test compilation. +// (sources in Test) ~= ((xs: Seq[File]) => xs.filter(f => Seq("TreeInterrogation", "package").exists(f.name.contains))) + pomExtra := ( <developers> <developer> diff --git a/project/build.properties b/project/build.properties index 2b9d40c..5e96e96 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1 +1 @@ -sbt.version=0.12.1
\ No newline at end of file +sbt.version=0.12.4 |