summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
Diffstat (limited to 'check')
-rwxr-xr-xcheck22
1 files changed, 22 insertions, 0 deletions
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 '' \