summaryrefslogtreecommitdiff
path: root/build.sc
diff options
context:
space:
mode:
authorRobby <robby@k-state.edu>2018-03-26 09:14:38 -0500
committerRobby <robby@k-state.edu>2018-03-26 09:14:38 -0500
commit810d27a0b84b35ff880c1d26ddab712e6664b3d0 (patch)
tree88713ddcc1ef8762714fba5b169494eff1ad9340 /build.sc
parent3c1bae1efdcf200030929a24034a8bd28f6b84bd (diff)
downloadmill-810d27a0b84b35ff880c1d26ddab712e6664b3d0.tar.gz
mill-810d27a0b84b35ff880c1d26ddab712e6664b3d0.tar.bz2
mill-810d27a0b84b35ff880c1d26ddab712e6664b3d0.zip
Enable repl in Windows now Ammonite supports it (lihaoyi/Ammonite#775).
Diffstat (limited to 'build.sc')
-rwxr-xr-xbuild.sc7
1 files changed, 1 insertions, 6 deletions
diff --git a/build.sc b/build.sc
index e40b8511..49fd6808 100755
--- a/build.sc
+++ b/build.sc
@@ -214,12 +214,7 @@ def launcherScript(isWin: Boolean,
|if "%1" == "-i" set _I_=true
|if "%1" == "--interactive" set _I_=true
|if defined _I_ (
- | if "%2" == "" (
- | echo mill repl is currently only available on a sh environment
- | exit /B 1
- | ) else (
- | java $jvmArgsStr %JAVA_OPTS% -cp "$classPathStr" mill.Main %*
- | )
+ | java $jvmArgsStr %JAVA_OPTS% -cp "$classPathStr" mill.Main %*
|) else (
| java $jvmArgsStr %JAVA_OPTS% -cp "$classPathStr" mill.clientserver.Client %*
|)