Permalink
Browse files

Updated for latest Coursier and Ammonite versions.

  • Loading branch information...
1 parent 6193305 commit 999a1b0bd891c29a63ca90b425891d7cf27c0365 @milessabin committed Oct 10, 2016
Showing with 6 additions and 7 deletions.
  1. +6 −7 scripts/try-shapeless.sh
@@ -1,9 +1,8 @@
#!/bin/sh
-COURSIER_URL=https://raw.githubusercontent.com/alexarchambault/coursier/v1.0.0-M12/coursier
-test -e ~/.coursier/cr || (mkdir -p ~/.coursier && curl -s --output ~/.coursier/cr $COURSIER_URL && chmod +x ~/.coursier/cr)
-CLASSPATH="$(~/.coursier/cr fetch -q -p \
- \
+COURSIER_URL=https://raw.githubusercontent.com/alexarchambault/coursier/v1.0.0-M14-2/coursier
+test -e ~/.coursier/coursier || \
+ (mkdir -p ~/.coursier && curl -s --output ~/.coursier/coursier $COURSIER_URL && chmod +x ~/.coursier/coursier)
+~/.coursier/coursier launch -q -P \
+ com.lihaoyi:ammonite_2.11.8:0.7.8 \
com.chuusai:shapeless_2.11:2.3.2 \
- com.lihaoyi:ammonite-repl_2.11.8:0.6.2 \
- \
-)" java ammonite.repl.Main --predef 'import shapeless._'
+ -- --predef 'import shapeless._' < /dev/tty

0 comments on commit 999a1b0

Please sign in to comment.