Skip to content

Instantly share code, notes, and snippets.

@y2k-shubham
Last active December 22, 2017 04:55
Show Gist options
  • Save y2k-shubham/f29f4d251a2d89a0e255a582c0463b8b to your computer and use it in GitHub Desktop.
Save y2k-shubham/f29f4d251a2d89a0e255a582c0463b8b to your computer and use it in GitHub Desktop.
Bash script to create directory structure for SBT project
#/bin/sh
# create directories
mkdir -p src/{main,test}/{resources,scala/com/company}
mkdir -p {nonsvn,project,target}
# create build.sbt file
echo '
name := "ProjectName"
version := "1.0"
scalaVersion := "2.12.4"
' > build.sbt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment