Skip to content

Instantly share code, notes, and snippets.

@wertlex
Last active December 17, 2015 01:09
Show Gist options
  • Save wertlex/5526018 to your computer and use it in GitHub Desktop.
Save wertlex/5526018 to your computer and use it in GitHub Desktop.
mkdir MyProject
cd MyProject
mkdir -p src/{main,test}/scala
touch build.sbt
echo -e 'name := "MyProject"\n\nversion := "0.1"\n\nscalaVersion := "2.10.1"' >> build.sbt
touch src/main/scala/HelloWorld.scala
echo -e 'object Main extends App { println("Hello World!") }' >> src/main/scala/HelloWorld.scala
sbt run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment