diff options
author | Christopher Vogt <oss.nsp@cvogt.org> | 2016-03-30 23:39:14 -0400 |
---|---|---|
committer | Christopher Vogt <oss.nsp@cvogt.org> | 2016-03-30 23:39:14 -0400 |
commit | 57de43907e05d4cd3986e2994e0e3bff93e09b4e (patch) | |
tree | 9e07a28943ffe0d9c2ace7f06315d8034f1dd6f8 /stage1/paths.scala | |
parent | 8a4578311e4d11c06bfb4fe04e5bf414b94d24e8 (diff) | |
download | cbt-57de43907e05d4cd3986e2994e0e3bff93e09b4e.tar.gz cbt-57de43907e05d4cd3986e2994e0e3bff93e09b4e.tar.bz2 cbt-57de43907e05d4cd3986e2994e0e3bff93e09b4e.zip |
Makes zinc usage smarter, so we do not need to call it when no files changed (and safe up to 0.1s for each call)
There still seem to be 2 bugs related to CBT development in the code. One if you simpy save a stage1 file unchanged and re-run cbt, it fails to call Stage2.run reflectively. Also in case of compile errors in stage1, a TrappedExitCode exception is thrown and not caught.
Diffstat (limited to 'stage1/paths.scala')
-rw-r--r-- | stage1/paths.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stage1/paths.scala b/stage1/paths.scala index e8e3cc5..f27e538 100644 --- a/stage1/paths.scala +++ b/stage1/paths.scala @@ -11,6 +11,7 @@ object paths{ private val target = Option(System.getenv("TARGET")).get.stripSuffix("/") val stage1Target: File = stage1 ++ ("/" ++ target) val stage2Target: File = stage2 ++ ("/" ++ target) + val stage2StatusFile: File = stage2Target ++ ".last-success" val nailgunTarget: File = nailgun ++ ("/" ++ target) val sonatypeLogin: File = cbtHome ++ "/sonatype.login" } |