summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorOlivier Mélois <baccata64@gmail.com>2019-04-25 13:59:29 +0200
committerTobias Roeser <le.petit.fou@web.de>2019-04-25 13:59:29 +0200
commitb2d480b2b9de6091a8e7c135dac5dd2c0f653c6b (patch)
tree0d0f3ecd0f796894b4542b9eaeae38cfce7a3217 /main
parent0d16d730cbdf31b2f88ca602fac73bf1bf622a90 (diff)
downloadmill-b2d480b2b9de6091a8e7c135dac5dd2c0f653c6b.tar.gz
mill-b2d480b2b9de6091a8e7c135dac5dd2c0f653c6b.tar.bz2
mill-b2d480b2b9de6091a8e7c135dac5dd2c0f653c6b.zip
Beginning of Bloop integration (#595)
* Sync with latest versions, started bloop connection * BloopModule back to the bare minimum * Added first Bloop related unit-tests * More tests * Fixed global module usage. * Added resolution in bloop config * More tests, using correct repository list * revert dev change * Changed moduleSourceMap implementation * Using path-dependant trait for the module This facilitates testing by preventing the trait from referencing a global module. * Added semanticDB to bloopConfig * Added documentation * Install returns pathRefs instead of paths * bumped semanticDB * Better use of mill's cache, avoid duplication of work * addressing comments
Diffstat (limited to 'main')
-rw-r--r--main/test/src/util/TestEvaluator.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/test/src/util/TestEvaluator.scala b/main/test/src/util/TestEvaluator.scala
index 97be20be..45bc41d9 100644
--- a/main/test/src/util/TestEvaluator.scala
+++ b/main/test/src/util/TestEvaluator.scala
@@ -12,12 +12,12 @@ object TestEvaluator{
val externalOutPath = os.pwd / 'target / 'external
- def static(module: TestUtil.BaseModule)(implicit fullName: sourcecode.FullName) = {
+ def static(module: => TestUtil.BaseModule)(implicit fullName: sourcecode.FullName) = {
new TestEvaluator(module)(fullName, TestPath(Nil))
}
}
-class TestEvaluator(module: TestUtil.BaseModule, failFast: Boolean = false)
+class TestEvaluator(module: => TestUtil.BaseModule, failFast: Boolean = false)
(implicit fullName: sourcecode.FullName,
tp: TestPath){
val outPath = TestUtil.getOutPath()