From d5bbc2d541e2548e7440cff1aff6d70dbdf6eb08 Mon Sep 17 00:00:00 2001 From: Stefan Zeiger Date: Tue, 8 Nov 2016 19:42:26 +0100 Subject: Add “test”, “scaladoc” and “repl” projects to scala-compiler docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This makes the scaladoc bundle for scala-compiler consistent with the binary and source bundles. --- build.sbt | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'build.sbt') diff --git a/build.sbt b/build.sbt index f500639b8f..e88e35da02 100644 --- a/build.sbt +++ b/build.sbt @@ -411,6 +411,16 @@ lazy val compiler = configureAsSubproject(project) (unmanagedResourceDirectories in Compile in LocalProject("repl")).value base ** ((includeFilter in unmanagedResources in Compile).value || "*.scala" || "*.psd" || "*.ai" || "*.java") pair relativeTo(base) }, + // Include the additional projects in the scaladoc JAR: + sources in Compile in doc ++= { + val base = + (unmanagedSourceDirectories in Compile in LocalProject("interactive")).value ++ + (unmanagedSourceDirectories in Compile in LocalProject("scaladoc")).value ++ + (unmanagedSourceDirectories in Compile in LocalProject("repl")).value + ((base ** ("*.scala" || "*.java")) + --- (base ** "Scaladoc*ModelTest.scala") // exclude test classes that depend on partest + ).get + }, scalacOptions in Compile in doc ++= Seq( "-doc-root-content", (sourceDirectory in Compile).value + "/rootdoc.txt" ), -- cgit v1.2.3