Skip to content
This repository was archived by the owner on Sep 1, 2020. It is now read-only.

Commit 1e4c53f

Browse files
committed
WIP: instant REPL.
1 parent c64a09b commit 1e4c53f

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

try-typelevel-scala.sh

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/bin/sh
2+
COURSIER_URL=https://raw.githubusercontent.com/alexarchambault/coursier/v1.0.0-M12/coursier
3+
test -e ~/.coursier/cr || (mkdir -p ~/.coursier && curl -s --output ~/.coursier/cr $COURSIER_URL && chmod +x ~/.coursier/cr)
4+
~/.coursier/cr launch \
5+
com.lihaoyi:ammonite_2.11.8:0.7.2 \
6+
-E org.scala-lang:scala-library \
7+
-E org.scala-lang:scala-compiler \
8+
-E org.scala-lang:scala-reflect \
9+
org.typelevel:scala-compiler:2.11.8 \
10+
org.typelevel:scala-library:2.11.8 \
11+
org.typelevel:scala-reflect:2.11.8 \
12+
-- \
13+
--predef='
14+
repl.compiler.settings.YpartialUnification.value = true
15+
repl.compiler.settings.YliteralTypes.value = true
16+
'

0 commit comments

Comments
 (0)