summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-02-27 16:41:52 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-02-27 16:41:52 +0000
commitb0c0bd96137e09b96f4b7392a2a7744bf35fa6bb (patch)
tree7c1b369a400833b27e3933bea90868ab9b4ed072 /check
parent1c0db6c6a13442df9cea3304c7d8616e224c0344 (diff)
downloadmorph-b0c0bd96137e09b96f4b7392a2a7744bf35fa6bb.tar.gz
Add checking of years in copyright statments to ./check
Diffstat (limited to 'check')
-rwxr-xr-xcheck8
1 files changed, 7 insertions, 1 deletions
diff --git a/check b/check
index 4931e488..b214301b 100755
--- a/check
+++ b/check
@@ -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