Skip to content

Commit b7d1034

Browse files
committed
Move linking to sbt script
1 parent e3388ca commit b7d1034

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.drone.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ pipeline:
1111
image: lampepfl/dotty:24-04-2017
1212
pull: true
1313
commands:
14-
- ln -s /var/cache/drone/ivy2 "$HOME/.ivy2"
1514
- ./project/scripts/sbt "${CI_TEST}"
1615
when:
1716
branch:

project/scripts/sbt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ else
1313
fi
1414

1515
if [ $SHOULD_RUN = true ]; then
16+
# get the ivy2 cache:
17+
ln -s /var/cache/drone/ivy2 "$HOME/.ivy2" || true
18+
19+
# run sbt with the supplied arg:
1620
sbt -J-Xmx4096m \
1721
-J-XX:ReservedCodeCacheSize=512m \
1822
-J-XX:MaxMetaspaceSize=1024m \

0 commit comments

Comments
 (0)