diff options
author | Olivier Mélois <baccata64@gmail.com> | 2019-04-25 13:59:29 +0200 |
---|---|---|
committer | Tobias Roeser <le.petit.fou@web.de> | 2019-04-25 13:59:29 +0200 |
commit | b2d480b2b9de6091a8e7c135dac5dd2c0f653c6b (patch) | |
tree | 0d0f3ecd0f796894b4542b9eaeae38cfce7a3217 /main | |
parent | 0d16d730cbdf31b2f88ca602fac73bf1bf622a90 (diff) | |
download | mill-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.scala | 4 |
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() |