diff options
Diffstat (limited to 'samples/Scala/scala.script!')
| -rwxr-xr-x | samples/Scala/scala.script! | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/samples/Scala/scala.script! b/samples/Scala/scala.script! new file mode 100755 index 0000000..b026d24 --- /dev/null +++ b/samples/Scala/scala.script! @@ -0,0 +1,9 @@ +#!/bin/sh +exec scala "$0" "$@" +!# + +object HelloWorld { + def main(args: Array[String]) { + println("Hello, world!") + } +} |
