blob: cfc8d00c5795c300b9d9bd2de43da311216a8ffb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
package mill.main
import mill.util.ScriptTestSuite
import utest._
object ForeignBuildsTest extends ScriptTestSuite(fork = false) {
def workspaceSlug = "foreign-builds"
def scriptSourcePath =
os.pwd / 'main / 'test / 'resources / 'examples / 'foreign
override def buildPath = os.rel / 'project / "build.sc"
val tests = Tests {
initWorkspace()
'test - {
// See https://github.com/lihaoyi/mill/issues/302
if (!ammonite.util.Util.java9OrAbove) {
assert(
eval("checkProjectPaths"),
eval("checkInnerPaths"),
eval("checkOuterPaths"),
eval("checkOuterInnerPaths"),
eval("checkProjectDests"),
eval("checkInnerDests"),
eval("checkOuterDests"),
eval("checkOuterInnerDests")
)
}
}
}
}
|