Created
August 24, 2015 14:04
-
-
Save daveshah/0e64be734e20232b5e26 to your computer and use it in GitHub Desktop.
Making a standalone Scala script (that is, no explicit invocation of Scala on the command line)
This file contains hidden or 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
#!/usr/local/bin/scala | |
::#! | |
@echo off | |
scala %0 %* | |
goto :eof | |
::!# | |
println("Hello Dave") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment