Skip to content

Commit e2dd138

Browse files
Fix slowness by using ./project/scripts/sbt
Before that sbt ran without the -Dsbt.ivy.home option set and the dependencies where downloaded again...
1 parent ec5da87 commit e2dd138

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

project/scripts/cmdTests

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ mkdir -p _site && ./bin/dotd -project Hello -siteroot _site tests/run/hello.scal
9595

9696
echo "running Vulpix meta test"
9797
tmp=$(mktemp)
98-
if sbt -no-colors "dotty-compiler/testOnly dotty.tools.vulpix.VulpixMetaTests" > "$tmp" 2>&1; then
98+
if ./project/scripts/sbt "dotty-compiler/testOnly dotty.tools.vulpix.VulpixMetaTests" > "$tmp" 2>&1; then
99+
cat "$tmp"
99100
echo "failed: sbt exited without error on VulpixMetaTests, these tests are expected to fail"
100101
exit -1
101102
fi

project/scripts/sbt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ sbt -J-Xmx4096m \
1212
-J-XX:MaxMetaspaceSize=1024m \
1313
-Ddotty.drone.mem=4096m \
1414
-Dsbt.ivy.home=/var/cache/drone/ivy2 \
15+
-no-colors \
1516
"$CMD"

0 commit comments

Comments
 (0)