summaryrefslogtreecommitdiff
path: root/main/test/src/mill/util/TestUtil.scala
diff options
context:
space:
mode:
Diffstat (limited to 'main/test/src/mill/util/TestUtil.scala')
-rw-r--r--main/test/src/mill/util/TestUtil.scala9
1 files changed, 4 insertions, 5 deletions
diff --git a/main/test/src/mill/util/TestUtil.scala b/main/test/src/mill/util/TestUtil.scala
index b4e3af89..e5fe906e 100644
--- a/main/test/src/mill/util/TestUtil.scala
+++ b/main/test/src/mill/util/TestUtil.scala
@@ -1,7 +1,6 @@
package mill.util
import mill.util.Router.Overrides
-import ammonite.ops.pwd
import mill.define._
import mill.eval.Result
import mill.eval.Result.OuterStack
@@ -14,17 +13,17 @@ import scala.collection.mutable
object TestUtil {
def getOutPath()(implicit fullName: sourcecode.FullName,
tp: TestPath) = {
- pwd / 'target / 'workspace / (fullName.value.split('.') ++ tp.value)
+ os.pwd / 'target / 'workspace / (fullName.value.split('.') ++ tp.value)
}
def getOutPathStatic()(implicit fullName: sourcecode.FullName) = {
- pwd / 'target / 'workspace / fullName.value.split('.')
+ os.pwd / 'target / 'workspace / fullName.value.split('.')
}
def getSrcPathStatic()(implicit fullName: sourcecode.FullName) = {
- pwd / 'target / 'worksources / fullName.value.split('.')
+ os.pwd / 'target / 'worksources / fullName.value.split('.')
}
def getSrcPathBase() = {
- pwd / 'target / 'worksources
+ os.pwd / 'target / 'worksources
}
class BaseModule(implicit millModuleEnclosing0: sourcecode.Enclosing,