aboutsummaryrefslogtreecommitdiff
path: root/build.sbt
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2013-11-07 15:27:40 +0100
committerJason Zaugg <jzaugg@gmail.com>2013-11-07 15:59:54 +0100
commit10f3c8db6163ebe3196173c1d87e69c1fb6a3a65 (patch)
treeb0043bf3feaea28eef36ed9548fa360213b1fd72 /build.sbt
parent6a2b940ac6b7e511270079e1b6278c844a57f5d1 (diff)
downloadscala-async-10f3c8db6163ebe3196173c1d87e69c1fb6a3a65.tar.gz
scala-async-10f3c8db6163ebe3196173c1d87e69c1fb6a3a65.tar.bz2
scala-async-10f3c8db6163ebe3196173c1d87e69c1fb6a3a65.zip
Minimize the public API
- Remove the CPS fallback version of async. That was not intended to be part of 1.0. - Lookup the await method beside the macro, rather than requiring all calls to go to AsyncBase.await. - Create a minimal version of Async that just contains await/async and delegates to the macro implementation in internal._ - Add scaladoc.
Diffstat (limited to 'build.sbt')
-rw-r--r--build.sbt23
1 files changed, 1 insertions, 22 deletions
diff --git a/build.sbt b/build.sbt
index fc8edb8..c20da4a 100644
--- a/build.sbt
+++ b/build.sbt
@@ -28,27 +28,6 @@ testOptions += Tests.Argument(TestFrameworks.JUnit, "-q", "-v", "-s")
parallelExecution in Global := false
-autoCompilerPlugins := true
-
-scalacOptions ++= (scalaHome.value match {
- case Some(sh) =>
- // Use continuations plugin from the local scala instance
- val continuationsJar = sh / "misc" / "scala-devel" / "plugins" / "continuations.jar"
- ("-Xplugin:" + continuationsJar.getAbsolutePath) :: Nil
- case None =>
- Nil
-})
-
-libraryDependencies ++= (scalaHome.value match {
- case Some(sh) =>
- Nil
- case None =>
- // Use continuations plugin from the published artifact.
- compilerPlugin("org.scala-lang.plugins" % "continuations" % scalaVersion.value) :: Nil
-})
-
-scalacOptions += "-P:continuations:enable"
-
scalacOptions in compile ++= Seq("-optimize", "-deprecation", "-unchecked", "-Xlint", "-feature")
scalacOptions in Test ++= Seq("-Yrangepos")
@@ -133,4 +112,4 @@ packageOptions in packageSrc := Seq(Package.ManifestAttributes(
("Bundle-Name", s"${name.value} sources"),
("Bundle-Version", osgiVersion.value),
("Eclipse-SourceBundle", s"""${organization.value}.${name.value};version="${osgiVersion.value}";roots:="."""")
- )) \ No newline at end of file
+ ))