diff options
Diffstat (limited to 'scripts/spdxcheck-test.sh')
-rw-r--r-- | scripts/spdxcheck-test.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/spdxcheck-test.sh b/scripts/spdxcheck-test.sh new file mode 100644 index 000000000..9f6d1a74d --- /dev/null +++ b/scripts/spdxcheck-test.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +# run check on a text and a binary file +for FILE in Makefile Documentation/images/logo.gif; do + python3 scripts/spdxcheck.py $FILE + python3 scripts/spdxcheck.py - < $FILE +done + +# run check on complete tree to catch any other issues +python3 scripts/spdxcheck.py > /dev/null |