4 Commits

Author SHA1 Message Date
Daniel Aarno
eb877b0fab Script to simlify all tests 2018-07-30 18:04:15 +01:00
Daniel Aarno
f327450dd5 Script to add emacs mode line to all files 2018-07-30 18:04:15 +01:00
Daniel Aarno
9a310a7c39 Check that all .h files in include/tclap are in Makefile.am
check_dead_headers.py can be called as a pre-commit hook.
2018-01-15 22:44:38 +00:00
Daniel Aarno
3adc1d1ff7 Pre-commit check for including test files in Makefile
Script to be called from pre-commit hook to make sure any new test
files were added to Makefile.am

Example pre-commit hook (in .git/hooks):

function pyhook {
    CMD="./scripts/$1.py"
    $CMD
    local status=$?
    if [ $status -ne 0 ]; then
        echo
        echo "Pre-commit failed"
        exit 1
    fi
}

pyhook check_tests_enabled
2018-01-07 15:35:09 +00:00