Skip to content

Commit

Permalink
Merge commit 'fetch_head' into testkit-example-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lihaoyi committed Aug 25, 2024
2 parents f0ed4c0 + e4eb7cb commit b6d4944
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions ci/test-mill-dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ rm -rf $EXAMPLE/out
test ! -d $EXAMPLE/out/foo/3.3.3/compile.dest
test ! -f $EXAMPLE/out/bar/2.13.8/assembly.dest/out.jar

./mill -i dev.run $EXAMPLE -i "foo[3.3.3].run"
./mill -i dist.run $EXAMPLE -i "foo[3.3.3].run"

test -d $EXAMPLE/out/foo/3.3.3/compile.dest

./mill -i dev.run $EXAMPLE show "bar[2.13.8].assembly"
./mill -i dist.run $EXAMPLE show "bar[2.13.8].assembly"

test -f $EXAMPLE/out/bar/2.13.8/assembly.dest/out.jar
6 changes: 3 additions & 3 deletions ci/test-mill-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -eux

# Build Mill
./mill -i dev.assembly
./mill -i dist.assembly

EXAMPLE=example/scalalib/builds/9-realistic

Expand All @@ -12,10 +12,10 @@ rm -rf $EXAMPLE/out
test ! -d $EXAMPLE/out/foo/3.3.3/compile.dest
test ! -f $EXAMPLE/out/bar/2.13.8/assembly.dest/out.jar

(cd $EXAMPLE && ../../../../out/dev/assembly.dest/mill -i "foo[3.3.3].run")
(cd $EXAMPLE && ../../../../out/dist/assembly.dest/mill -i "foo[3.3.3].run")

test -d $EXAMPLE/out/foo/3.3.3/compile.dest

(cd $EXAMPLE && ../../../../out/dev/assembly.dest/mill show "bar[2.13.8].assembly")
(cd $EXAMPLE && ../../../../out/dist/assembly.dest/mill show "bar[2.13.8].assembly")

test -f $EXAMPLE/out/bar/2.13.8/assembly.dest/out.jar

0 comments on commit b6d4944

Please sign in to comment.