From 10f3c8db6163ebe3196173c1d87e69c1fb6a3a65 Mon Sep 17 00:00:00 2001 From: Jason Zaugg Date: Thu, 7 Nov 2013 15:27:40 +0100 Subject: 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. --- build.sbt | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) (limited to 'build.sbt') 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 + )) -- cgit v1.2.3