aboutsummaryrefslogtreecommitdiff
path: root/stage2/BuildBuild.scala
diff options
context:
space:
mode:
authorChristopher Vogt <oss.nsp@cvogt.org>2016-06-19 22:19:05 -0400
committerChristopher Vogt <oss.nsp@cvogt.org>2016-09-12 15:25:32 +0100
commit6c277e29cb75656a6340aafc7855029ea9c4d3ca (patch)
treebc80711269f9d01438056a6d8f43461cf07a6d35 /stage2/BuildBuild.scala
parent4c889aedae5108cc8d381e9876c1ae956ff078f2 (diff)
downloadcbt-6c277e29cb75656a6340aafc7855029ea9c4d3ca.tar.gz
cbt-6c277e29cb75656a6340aafc7855029ea9c4d3ca.tar.bz2
cbt-6c277e29cb75656a6340aafc7855029ea9c4d3ca.zip
work correctly in the presence of empty build folders
Diffstat (limited to 'stage2/BuildBuild.scala')
-rw-r--r--stage2/BuildBuild.scala6
1 files changed, 5 insertions, 1 deletions
diff --git a/stage2/BuildBuild.scala b/stage2/BuildBuild.scala
index 5392217..b6d92c4 100644
--- a/stage2/BuildBuild.scala
+++ b/stage2/BuildBuild.scala
@@ -58,7 +58,11 @@ trait BuildBuild extends BaseBuild{
}
}
} else {
- new BasicBuild(managedContext)
+ if( projectDirectory.getParentFile.getName == "build" ){
+ new BasicBuild( managedContext ) with BuildBuild
+ } else {
+ new BasicBuild( managedContext )
+ }
}
)
try{