summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2015-09-02 13:07:43 +1000
committerJason Zaugg <jzaugg@gmail.com>2015-09-02 13:43:17 +1000
commitf9b52c7086ad1541cb949dd4ff2412990bde792e (patch)
tree9fecdf30f81f3e4f0b9c3a21c243919a81361f11
parent3d7066d0a710a05b392b47077f4fe00673df2131 (diff)
downloadscala-f9b52c7086ad1541cb949dd4ff2412990bde792e.tar.gz
scala-f9b52c7086ad1541cb949dd4ff2412990bde792e.tar.bz2
scala-f9b52c7086ad1541cb949dd4ff2412990bde792e.zip
REPL depends on presentation compiler
In preparation for use of the presentation compiler to drive REPL tab completion, add a dependency in the build. As far as the outside world is concerned, these are already comingled in scala-compiler.jar, and this patch doesn't change that.
-rw-r--r--build.sbt2
-rwxr-xr-xbuild.xml3
2 files changed, 3 insertions, 2 deletions
diff --git a/build.sbt b/build.sbt
index 7690df5430..495538c31e 100644
--- a/build.sbt
+++ b/build.sbt
@@ -200,7 +200,7 @@ lazy val repl = configureAsSubproject(project)
run <<= (run in Compile).partialInput(" -usejavacp") // Automatically add this so that `repl/run` works without additional arguments.
)
.settings(disableDocsAndPublishingTasks: _*)
- .dependsOn(compiler)
+ .dependsOn(compiler, interactive)
lazy val scaladoc = configureAsSubproject(project)
.settings(
diff --git a/build.xml b/build.xml
index f568688c4e..8fab841b29 100755
--- a/build.xml
+++ b/build.xml
@@ -802,6 +802,7 @@ TODO:
<path id="quick.repl.build.path">
<path refid="quick.compiler.build.path"/>
+ <path refid="quick.interactive.build.path"/>
<pathelement location="${build-quick.dir}/classes/repl"/>
</path>
@@ -1168,7 +1169,7 @@ TODO:
<target name="quick.comp" depends="quick.reflect">
<staged-build with="locker" stage="quick" project="compiler"/> </target>
- <target name="quick.repl" depends="quick.comp">
+ <target name="quick.repl" depends="quick.comp, quick.interactive">
<staged-build with="locker" stage="quick" project="repl"/>
<staged-build with="locker" stage="quick" project="repl-jline"/>