From 8e709180304327fd07c741f9817bbc74adca584e Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Thu, 8 Dec 2011 16:52:53 -0800 Subject: Deleted the sbt 0.7 project. Pretty sure nobody's using this? Let's make some space for our upcoming friend the 0.11 project. --- project/build/Scaladoc.scala | 48 -------------------------------------------- 1 file changed, 48 deletions(-) delete mode 100644 project/build/Scaladoc.scala (limited to 'project/build/Scaladoc.scala') diff --git a/project/build/Scaladoc.scala b/project/build/Scaladoc.scala deleted file mode 100644 index 39bcb5226e..0000000000 --- a/project/build/Scaladoc.scala +++ /dev/null @@ -1,48 +0,0 @@ -import sbt._ -import xsbt.AnalyzingCompiler - -trait Scaladoc { - self: BasicLayer with Packer => - - lazy val documentationDestination = outputRootPath / "scaladoc" - lazy val libraryDocumentationDestination = documentationDestination / "library" - lazy val compilerDocumentationDestination = documentationDestination / "compiler" - lazy val libraryDoc = { - val reflect = librarySrcDir / "scala" / "reflect" - val runtime = librarySrcDir / "scala" / "runtime" - - ((librarySrcDir +++ actorsSrcDir +++ swingSrcDir)**("*.scala")--- - reflect / "Code.scala" --- - reflect / "Manifest.scala" --- - reflect / "Print.scala" --- - reflect / "Symbol.scala" --- - reflect / "Tree.scala" --- - reflect / "Type.scala" --- - reflect / "TypedCode.scala" --- - runtime /"ScalaRunTime.scala" --- - runtime / "StreamCons.scala" --- - runtime / "StringAdd.scala" --- - runtime * ("*$.scala") --- - runtime *("*Array.scala") - ) - - } - lazy val compilerDoc = { - compilerSrcDir **("*.scala") - } - lazy val classpath ={ - (antJar +++ jlineJar +++ msilJar +++ fjbgJar +++ forkJoinJar +++ outputLibraryJar +++ outputCompilerJar +++ outputPartestJar +++ outputScalapJar ).get - - } - lazy val scaladoc = task(maybeFork(generateScaladoc, "Error generating scaladoc")) dependsOn pack - - lazy val generateScaladoc = task { - instanceScope[Option[String]]{ scala => - lazy val compiler = new AnalyzingCompiler(scala, componentManager, xsbt.ClasspathOptions.manual, log) - val docGenerator = new sbt.Scaladoc(50, compiler) - docGenerator("Scala "+ versionNumber+" API", libraryDoc.get, classpath, libraryDocumentationDestination, Seq(), log) orElse - docGenerator("Scala Compiler"+ versionNumber+" API", compilerDoc.get, classpath, compilerDocumentationDestination, Seq(), log) - } - } - -} -- cgit v1.2.3