Skip to content

Instantly share code, notes, and snippets.

@wandersoncferreira
Created September 23, 2017 12:07
Show Gist options
  • Save wandersoncferreira/5684d3e54de3517fc537fe100dfefb69 to your computer and use it in GitHub Desktop.
Save wandersoncferreira/5684d3e54de3517fc537fe100dfefb69 to your computer and use it in GitHub Desktop.
Create SBT folder structure
#!/bin/bash
proj=$1
mkdir $proj
cd $proj
mkdir -p src/{main,test}/{java,resources,scala}
mkdir lib project target
# create an initial build.sbt file
echo "name := \"$proj\"
version := \"1.0\"
scalaVersion := \"2.12.1\"" > build.sbt
echo "Project ${proj} created!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment