From 17b5069a8a4d2f7bdfa9cb2617bad739d5b22fc3 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 24 Sep 2017 14:38:20 +0300 Subject: Add: copyright statements, check they exist --- check | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'check') diff --git a/check b/check index 269c1b9..8bf30d4 100755 --- a/check +++ b/check @@ -1,9 +1,31 @@ #!/bin/sh +# Copyright 2017 Lars Wirzenius set -eu +title() +{ + printf "\n" + echo "$@" + n=77 + for i in $(seq $n) + do + printf "%s" - + done + printf '\n' +} + + +title Unit tests python3 -m CoverageTestRunner --ignore-missing-from=without-tests ick2 +if [ -e .git ] +then + title Copyright statements + copyright-statement-lint $(git ls-files | grep -Fvxf copyright-exceptions) +fi + +title Yarns yarn yarns/*.yarn \ --shell python2 \ --shell-arg '' \ -- cgit v1.2.1