From e3a3834f8deaafd86160bfc658cd8de463baf312 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Mon, 18 Oct 2010 17:03:51 -0400 Subject: [PATCH] Add nosetests line to misc/hooks/REAMDE for pre-commit hook. --- misc/hooks/README | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 -- 2.26.2