Skip to content

Commit

Permalink
Update .travis-setup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
alexarchambault committed Feb 4, 2020
1 parent 36ed56f commit 88bcbc5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .travis-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ mkdir -p "$DIR"

export PATH="$DIR:$PATH"

COURSIER_VERSION="1.1.0-M14-4"
COURSIER_VERSION="2.0.0-RC6-1"
MILL_VERSION="0.3.6"

if [ ! -x "$DIR/coursier-$COURSIER_VERSION" ]; then
curl -Lo "$DIR/coursier-$COURSIER_VERSION" \
"https://github.com/coursier/coursier/releases/download/v$COURSIER_VERSION/coursier"
"https://github.com/coursier/coursier/releases/download/v$COURSIER_VERSION/cs-x86_64-pc-linux"
chmod +x "$DIR/coursier-$COURSIER_VERSION"
rm -f "$DIR/coursier"
( cd "$DIR" && ln -s "coursier-$COURSIER_VERSION" coursier )
rm -f "$DIR/coursier" "$DIR/cs"
( cd "$DIR" && ln -s "coursier-$COURSIER_VERSION" coursier && ln -s "coursier-$COURSIER_VERSION" cs )
fi

MILL_CLASSPATH="$(coursier fetch --classpath "com.lihaoyi:mill-dev_2.12:$MILL_VERSION")"
MILL_CLASSPATH="$(cs fetch --classpath "com.lihaoyi:mill-dev_2.12:$MILL_VERSION")"
coursier bootstrap -f "com.lihaoyi:mill-dev_2.12:$MILL_VERSION" \
-o "$DIR/mill" \
-M mill.MillMain \
Expand Down

0 comments on commit 88bcbc5

Please sign in to comment.