aboutsummaryrefslogtreecommitdiff
path: root/stage2/Lib.scala
diff options
context:
space:
mode:
authorChristopher Vogt <oss.nsp@cvogt.org>2017-03-19 21:38:02 -0400
committerChristopher Vogt <oss.nsp@cvogt.org>2017-03-19 21:38:02 -0400
commit8f055d10fb3b5494115ffd8bf46b972d0937e234 (patch)
treee0519bd38f618eaa91303076007383a8f3639484 /stage2/Lib.scala
parentff4bc8f6d8077dd8d96064267c31bdace93d892b (diff)
downloadcbt-8f055d10fb3b5494115ffd8bf46b972d0937e234.tar.gz
cbt-8f055d10fb3b5494115ffd8bf46b972d0937e234.tar.bz2
cbt-8f055d10fb3b5494115ffd8bf46b972d0937e234.zip
Get rid of the hacky "essential" plugins separation
Let’s keep move them back into stage2 again instead for reduction of complexity, cbt build speed and convenience of fewer manual dependencies. And for that let cbt just include eval from the start.
Diffstat (limited to 'stage2/Lib.scala')
-rw-r--r--stage2/Lib.scala11
1 files changed, 1 insertions, 10 deletions
diff --git a/stage2/Lib.scala b/stage2/Lib.scala
index 948cbf0..bb59604 100644
--- a/stage2/Lib.scala
+++ b/stage2/Lib.scala
@@ -38,17 +38,8 @@ final class Lib(val logger: Logger) extends Stage1Lib(logger){
val useBasicBuild = directory == start && start.getName != buildDirectoryName
try{
- if(useBasicBuild) {
+ if(useBasicBuild)
new BasicBuild( context.copy( workingDirectory = directory ) )
- } else if(
- // essentials depends on eval, which has a build that depends on scalatest
- // this means in these we can't depend on essentials
- // hopefully we find a better way that this pretty hacky exclusion rule
- directory == (context.cbtHome ++ "/plugins/essentials")
- || directory == (context.cbtHome ++ "/libraries/eval")
- || directory == (context.cbtHome ++ "/plugins/scalatest")
- )
- new cbt.ConcreteBuildBuildWithoutEssentials( context.copy( workingDirectory = start ) )
else
new cbt.ConcreteBuildBuild( context.copy( workingDirectory = start ) )
} catch {