Skip to content
This repository has been archived by the owner on Jul 24, 2019. It is now read-only.

making tests run pre commit

Gojko Adzic edited this page Jun 4, 2013 · 1 revision
cat > .git/hooks/pre-commit
#!/bin/bash
phantomjs test-lib/run_jasmine_test.coffee test/SpecRunner.html

(ctrl+d) to end editing

chmod u+x .git/hooks/pre-commit
Clone this wiki locally