Skip to content

Instantly share code, notes, and snippets.

@ElectricCoffee
Last active August 29, 2015 14:02
Show Gist options
  • Save ElectricCoffee/ebd6206d77382567b26e to your computer and use it in GitHub Desktop.
Save ElectricCoffee/ebd6206d77382567b26e to your computer and use it in GitHub Desktop.
#!/bin/bash
function setup-sbt() {
# make the basic directories
mkdir -p "src/main/scala" # change scala to java if that's what you use
mkdir -p "src/main/resources"
mkdir -p "src/test/scala"
# make build file
touch build.sbt
# add basic data to build file
echo -e "name :=\n\nversion :=\n\nscalaVersion := " > build.sbt
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment