Created
September 23, 2017 12:07
-
-
Save wandersoncferreira/5684d3e54de3517fc537fe100dfefb69 to your computer and use it in GitHub Desktop.
Create SBT folder structure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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