Last active
April 10, 2016 02:15
-
-
Save ChrisCoffey/84eb996e05ed8935c9dea9ab9e1c4a68 to your computer and use it in GitHub Desktop.
Inspired by Mile Sabin's shapeless Ammonite repl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
test -e ~/.coursier/cr || (mkdir -p ~/.coursier && wget -q -O ~/.coursier/cr https://git.io/vgvpD && chmod +x ~/.coursier/cr) | |
CLASSPATH="$(~/.coursier/cr fetch -q -p -r https://oss.sonatype.org/content/repositories/snapshots \ | |
\ | |
co.fs2:fs2-core_2.11:0.9.0-SNAPSHOT\ | |
co.fs2:fs2-io_2.11:0.9.0-SNAPSHOT\ | |
com.lihaoyi:ammonite-repl_2.11.7:0.5.7 \ | |
\ | |
)" java ammonite.repl.Main --predef 'import fs2._' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment