aboutsummaryrefslogtreecommitdiff
path: root/stage1
diff options
context:
space:
mode:
Diffstat (limited to 'stage1')
-rw-r--r--stage1/Stage1Lib.scala11
1 files changed, 10 insertions, 1 deletions
diff --git a/stage1/Stage1Lib.scala b/stage1/Stage1Lib.scala
index 7a2f8db..985200e 100644
--- a/stage1/Stage1Lib.scala
+++ b/stage1/Stage1Lib.scala
@@ -31,7 +31,16 @@ object CatchTrappedExitCode{
}
}
-case class Context( projectDirectory: File, cwd: File, args: Seq[String], logger: Logger, cbtHasChanged: Boolean, classLoaderCache: ClassLoaderCache )
+case class Context(
+ projectDirectory: File,
+ cwd: File,
+ args: Seq[String],
+ logger: Logger,
+ cbtHasChanged: Boolean,
+ classLoaderCache: ClassLoaderCache,
+ version: Option[String] = None,
+ scalaVersion: Option[String] = None
+)
class BaseLib{
def realpath(name: File) = new File(Paths.get(name.getAbsolutePath).normalize.toString)