diff options
Diffstat (limited to 'stage2/AdminTasks.scala')
-rw-r--r-- | stage2/AdminTasks.scala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/stage2/AdminTasks.scala b/stage2/AdminTasks.scala index bce0ae7..e7fc78b 100644 --- a/stage2/AdminTasks.scala +++ b/stage2/AdminTasks.scala @@ -1,6 +1,7 @@ package cbt import scala.collection.immutable.Seq -class AdminTasks(lib: Lib, args: Array[String]){ +import java.io._ +class AdminTasks(lib: Lib, args: Array[String], cwd: File){ implicit val logger: Logger = lib.logger def resolve = { ClassPath.flatten( @@ -30,4 +31,5 @@ class AdminTasks(lib: Lib, args: Array[String]){ "scala.tools.nsc.MainGenericRunner", Seq("-cp", scalac.classpath.string), scalac.classLoader ) } + def scaffoldBasicBuild: Unit = lib.scaffoldBasicBuild( cwd ) } |