diff options
author | Lars Wirzenius <liw@liw.fi> | 2017-09-24 14:38:20 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2017-09-24 14:38:20 +0300 |
commit | 17b5069a8a4d2f7bdfa9cb2617bad739d5b22fc3 (patch) | |
tree | 14680592138c6b8381586becdf9f140a530ea729 /check | |
parent | 55ab1c78a6fe42c6e0857fa82cab248dcd2f0172 (diff) | |
download | ick2-17b5069a8a4d2f7bdfa9cb2617bad739d5b22fc3.tar.gz |
Add: copyright statements, check they exist
Diffstat (limited to 'check')
-rwxr-xr-x | check | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -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 '' \ |