diff options
author | Li Haoyi <haoyi.sg@gmail.com> | 2017-10-19 04:39:08 -0700 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2017-10-19 04:39:08 -0700 |
commit | 71ddc7e65666844e063c48c80b3ce7fecfe77a0f (patch) | |
tree | 9e03046e8c96d6d1b99e7a68ad8c3b12d8f2a434 /src/main/scala/hbt/Main.scala | |
parent | 738104aafa8ac0f0dd09e9ef015d909b3f016158 (diff) | |
download | mill-71ddc7e65666844e063c48c80b3ce7fecfe77a0f.tar.gz mill-71ddc7e65666844e063c48c80b3ce7fecfe77a0f.tar.bz2 mill-71ddc7e65666844e063c48c80b3ce7fecfe77a0f.zip |
- Convert example workflow to `javac` since `scalac` is slow
- Implement `Target.Subprocess`, and use it inside `compileAll`
- Move `Main` workflow into `HbtTests`, to be run using uTest
Diffstat (limited to 'src/main/scala/hbt/Main.scala')
-rw-r--r-- | src/main/scala/hbt/Main.scala | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/main/scala/hbt/Main.scala b/src/main/scala/hbt/Main.scala deleted file mode 100644 index db5e2820..00000000 --- a/src/main/scala/hbt/Main.scala +++ /dev/null @@ -1,13 +0,0 @@ -package hbt -import java.nio.{file => jnio} -import Util._ -object Main{ - def main(args: Array[String]): Unit = { - val sourceRoot = Target.path(jnio.Paths.get("test/src")) - val resourceRoot = Target.path(jnio.Paths.get("test/resources")) - val allSources = list(sourceRoot) - val classFiles = compileAll(allSources) - val jar = jarUp(resourceRoot, classFiles) - Evaluator.apply(jar, jnio.Paths.get("target/workspace")) - } -}
\ No newline at end of file |