You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Joshua Mervine edited this page Nov 5, 2013
·
4 revisions
As an addendum to the standard installation methods shown in the README, here's how I auto-install and test with shunt using simple make commands.
Due to make's nature, this will only install shunt on demand and only on first running your tests. Tests can be run with make test or just simply make.
Note: This assumes that you have a test directory at your project root, containing a test file called tests.sh.
test: test/shunt.sh .PHONY
./test/shunt.sh ./test/tests.sh
clean:
rm test/shunt.sh
test/shunt.sh:
cd test && curl -L https://raw.github.com/odb/shunt/master/install.sh | bash -s local
.PHONY: