diff options
author | Stefan Zeiger <szeiger@novocode.com> | 2016-11-08 19:42:26 +0100 |
---|---|---|
committer | Stefan Zeiger <szeiger@novocode.com> | 2016-11-08 19:42:26 +0100 |
commit | d5bbc2d541e2548e7440cff1aff6d70dbdf6eb08 (patch) | |
tree | 120fc8f601c49eb8ba39ae8427d392cb2d62ebfe /build.sbt | |
parent | 10c609e750a7089055b126e6231e5ddb2f2e8623 (diff) | |
download | scala-d5bbc2d541e2548e7440cff1aff6d70dbdf6eb08.tar.gz scala-d5bbc2d541e2548e7440cff1aff6d70dbdf6eb08.tar.bz2 scala-d5bbc2d541e2548e7440cff1aff6d70dbdf6eb08.zip |
Add “test”, “scaladoc” and “repl” projects to scala-compiler docs
This makes the scaladoc bundle for scala-compiler consistent with the
binary and source bundles.
Diffstat (limited to 'build.sbt')
-rw-r--r-- | build.sbt | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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" ), |