aboutsummaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authorFelix Mulder <felix.mulder@gmail.com>2017-01-06 13:54:49 +0100
committerFelix Mulder <felix.mulder@gmail.com>2017-01-31 14:31:03 +0100
commitcbb9ae997825592e6d307d2feb89ba9e0a202820 (patch)
tree429bf1e1af445fd4b2e236a9572c6e605bb70aaa /project
parentc8a1a80776630535150d041a0aef34c508476cb3 (diff)
downloaddotty-cbb9ae997825592e6d307d2feb89ba9e0a202820.tar.gz
dotty-cbb9ae997825592e6d307d2feb89ba9e0a202820.tar.bz2
dotty-cbb9ae997825592e6d307d2feb89ba9e0a202820.zip
Add resource dir to dottydoc
Diffstat (limited to 'project')
-rw-r--r--project/Build.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/project/Build.scala b/project/Build.scala
index ba16ec38d..e27ec350c 100644
--- a/project/Build.scala
+++ b/project/Build.scala
@@ -373,6 +373,8 @@ object DottyBuild extends Build {
// project, for sbt integration
// FIXME: note part of dottyCompilerSettings because the doc-tool does not
// compile with dotty
+ unmanagedResourceDirectories in Compile := Seq((resourceDirectory in Compile).value),
+ unmanagedResourceDirectories in Compile += baseDirectory.value / ".." / "doc-tool" / "resources",
unmanagedSourceDirectories in Compile := Seq((scalaSource in Compile).value),
unmanagedSourceDirectories in Compile += baseDirectory.value / ".." / "doc-tool" / "src",
unmanagedSourceDirectories in Test := Seq((scalaSource in Test).value),