From: W. Trevor King Date: Mon, 18 Oct 2010 21:03:51 +0000 (-0400) Subject: Add nosetests line to misc/hooks/REAMDE for pre-commit hook. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e3a3834f8deaafd86160bfc658cd8de463baf312;p=sawsim.git Add nosetests line to misc/hooks/REAMDE for pre-commit hook. --- diff --git a/misc/hooks/README b/misc/hooks/README index 99ede2a..801e479 100644 --- a/misc/hooks/README +++ b/misc/hooks/README @@ -1,10 +1,12 @@ Git provides hooks to automatically execute scripts at certain points. See the `Git Community Book`_ for details. +.. _Git Community Book: http://book.git-scm.com/5_git_hooks.html + + #!/bin/sh ./misc/hooks/pre-commit-diff-check || exit 1 # check patch formatting make check || exit 1 # check sawsim execution +nosetests --with-doctest --doctest-tests pysawsim || exit 1 - -.. _Git Community Book: http://book.git-scm.com/5_git_hooks.html