Skip to content

Instantly share code, notes, and snippets.

@hugolu
Created May 10, 2016 06:10
Show Gist options
  • Save hugolu/a2391f57f82774837e42142df341504e to your computer and use it in GitHub Desktop.
Save hugolu/a2391f57f82774837e42142df341504e to your computer and use it in GitHub Desktop.
#!/bin/sh
name=$1
version=$2
scalaVersion=2.11.7
mkdir -p src/{main,test}/{java,resources,scala}
mkdir lib project target
# create an initial build.sbt file
cat <<END > build.sbt
name := "$name"
version := "$version"
scalaVersion := "$scalaVersion"
END
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment