Skip to content

Instantly share code, notes, and snippets.

@amitsnyderman
Created December 3, 2013 20:01
Show Gist options
  • Select an option

  • Save amitsnyderman/7776473 to your computer and use it in GitHub Desktop.

Select an option

Save amitsnyderman/7776473 to your computer and use it in GitHub Desktop.
#!/bin/bash
DIR=example
mkdir $DIR
cd $DIR
cat >> Example.scala << EOF
object Main extends App {
println("Hello!")
}
EOF
sbt run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment