diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-02-27 16:41:52 +0000 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-02-27 16:41:52 +0000 |
commit | b0c0bd96137e09b96f4b7392a2a7744bf35fa6bb (patch) | |
tree | 7c1b369a400833b27e3933bea90868ab9b4ed072 /check | |
parent | 1c0db6c6a13442df9cea3304c7d8616e224c0344 (diff) | |
download | morph-b0c0bd96137e09b96f4b7392a2a7744bf35fa6bb.tar.gz |
Add checking of years in copyright statments to ./check
Diffstat (limited to 'check')
-rwxr-xr-x | check | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -2,7 +2,7 @@ # # Run test suite for morph. # -# Copyright (C) 2011 Codethink Limited +# Copyright (C) 2011, 2012 Codethink Limited # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -21,3 +21,9 @@ set -e python setup.py clean check fakeroot cmdtest -c ./morph tests + +if [ -d .git ]; +then + echo "Checking copyright statements" + git ls-files | xargs scripts/check-copyright-year +fi |