Add nosetests line to misc/hooks/REAMDE for pre-commit hook.
authorW. Trevor King <wking@drexel.edu>
Mon, 18 Oct 2010 21:03:51 +0000 (17:03 -0400)
committerW. Trevor King <wking@drexel.edu>
Mon, 18 Oct 2010 21:03:51 +0000 (17:03 -0400)
misc/hooks/README

index 99ede2aee4025e37632cbf5d28678334020ac6fc..801e4799c94b9a7561c632e692493fb28a4ca773 100644 (file)
@@ -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
+
+
 <file path=".git/hooks/pre-commit">
 #!/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
 </file>
-
-.. _Git Community Book: http://book.git-scm.com/5_git_hooks.html