Last active
December 11, 2015 09:58
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 ../.. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Usage: go to the root of your g8-template directory and run
and then, to test you just run every time
. ./g8test/g8test.sh