Skip to content

Instantly share code, notes, and snippets.

@mslinn
Last active December 14, 2019 00:33
Show Gist options
  • Select an option

  • Save mslinn/7efd95eeda056f207dff0d2fe7794e0c to your computer and use it in GitHub Desktop.

Select an option

Save mslinn/7efd95eeda056f207dff0d2fe7794e0c to your computer and use it in GitHub Desktop.
bash script that automatically does the necessary steps for creating a new Play Framework project from play28-template
#!/bin/bash
# Clones play28-template and starts a new SBT project
# Optional argument specifies name of directory to place the new project into
DIR=play28template
if [ "$1" ]; then DIR="$1"; fi
git clone https://github.com/mslinn/play28-template.git "$DIR"
cd "$DIR"
rm -rf .git
git init
echo "Remember to edit README.md and build.sbt ASAP"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment