diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2013-11-07 15:27:40 +0100 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2013-11-07 15:59:54 +0100 |
commit | 10f3c8db6163ebe3196173c1d87e69c1fb6a3a65 (patch) | |
tree | b0043bf3feaea28eef36ed9548fa360213b1fd72 /build.sbt | |
parent | 6a2b940ac6b7e511270079e1b6278c844a57f5d1 (diff) | |
download | scala-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.sbt | 23 |
1 files changed, 1 insertions, 22 deletions
@@ -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 + )) |