aboutsummaryrefslogtreecommitdiff
path: root/stage1/cbt.scala
diff options
context:
space:
mode:
authorChristopher Vogt <oss.nsp@cvogt.org>2017-02-13 22:54:12 -0500
committerChristopher Vogt <oss.nsp@cvogt.org>2017-02-13 23:58:43 -0500
commitb8e3edf032c60e8c9ae4f28d5c3ac2e2720308cc (patch)
tree859a6a25651a56ba92ec158fdb03f542d57202bd /stage1/cbt.scala
parente0fb6ec75286c695b7e4c5ed9189714d40f9b672 (diff)
downloadcbt-b8e3edf032c60e8c9ae4f28d5c3ac2e2720308cc.tar.gz
cbt-b8e3edf032c60e8c9ae4f28d5c3ac2e2720308cc.tar.bz2
cbt-b8e3edf032c60e8c9ae4f28d5c3ac2e2720308cc.zip
easier setting of projectDirectory in sub-builds
by replacing context.projectDirectory by workingDirectory and using it as the default but allowing it to being overridden
Diffstat (limited to 'stage1/cbt.scala')
-rw-r--r--stage1/cbt.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/stage1/cbt.scala b/stage1/cbt.scala
index a1776b1..54f3159 100644
--- a/stage1/cbt.scala
+++ b/stage1/cbt.scala
@@ -77,7 +77,7 @@ object `package`{
def cbtLastModified: scala.Long = subject.cbtLastModified
def copy(
- projectDirectory: File = projectDirectory,
+ workingDirectory: File = workingDirectory,
args: Seq[String] = args,
//enabledLoggers: Set[String] = enabledLoggers,
cbtLastModified: Long = cbtLastModified,
@@ -85,7 +85,7 @@ object `package`{
cbtHome: File = cbtHome,
parentBuild: Option[BuildInterface] = None
): Context = new ContextImplementation(
- projectDirectory,
+ workingDirectory,
cwd,
args.to,
enabledLoggers.to,