From b0c0bd96137e09b96f4b7392a2a7744bf35fa6bb Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Mon, 27 Feb 2012 16:41:52 +0000 Subject: Add checking of years in copyright statments to ./check --- check | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'check') 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 -- cgit v1.2.1