Skip to content

Instantly share code, notes, and snippets.

@subintp
Created March 19, 2020 14:09
Show Gist options
  • Save subintp/6db55f6e7c6ff9af1ec7e7171fc1bab0 to your computer and use it in GitHub Desktop.
Save subintp/6db55f6e7c6ff9af1ec7e7171fc1bab0 to your computer and use it in GitHub Desktop.
SBT project builder
#!/bin/sh
mkdir -p src/{main,test}/{java,resources,scala}
mkdir lib project target
# create an initial build.sbt file
echo 'name := "MyProject"
version := "1.0-SNAPSHOT"
scalaVersion := "2.13.1"' > build.sbt
# create alias in bashrc
#alias mkdirs4sbt='path/to/sbt.sh'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment