Skip to content

Instantly share code, notes, and snippets.

@laughedelic
Last active December 11, 2015 09:58
Show Gist options
  • Save laughedelic/4583179 to your computer and use it in GitHub Desktop.
Save laughedelic/4583179 to your computer and use it in GitHub Desktop.
Simple script for testing g8 templates without giter8 sbt-plugin (because it's weird). See instructions in comments.
# assuming that this script lies in g8test/ folder of the root directory of a g8-template
cd g8test
g8 file://.. --name=template > /dev/null
echo "Template applied in g8test/template/"
cd template
echo "sbt test:" && sbt test
cd ../..
@laughedelic
Copy link
Author

Usage: go to the root of your g8-template directory and run

git clone https://gist.github.com/4583179.git g8test

and then, to test you just run every time

. ./g8test/g8test.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment