Created
September 11, 2015 07:15
-
-
Save jthelin/039b097a1e6e5c752e9d to your computer and use it in GitHub Desktop.
hello-scala.sh - running a scala program / script directly from bash.
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/sh | |
exec scala "$0" "$@" | |
!# | |
object HelloWorld extends App { | |
println("Hello, world!") | |
} | |
HelloWorld.main(args) |
Author
jthelin
commented
Sep 11, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment