2018-12-28 03:31:32 -05:00
|
|
|
#!/bin/sh
|
|
|
|
|
2021-07-07 17:06:00 -04:00
|
|
|
# run check on a text and a binary file
|
2022-05-28 11:31:31 -04:00
|
|
|
for FILE in Makefile Documentation/images/logo.gif; do
|
2021-07-07 17:06:00 -04:00
|
|
|
python3 scripts/spdxcheck.py $FILE
|
|
|
|
python3 scripts/spdxcheck.py - < $FILE
|
2018-12-28 03:31:32 -05:00
|
|
|
done
|
2021-07-07 17:06:00 -04:00
|
|
|
|
|
|
|
# run check on complete tree to catch any other issues
|
|
|
|
python3 scripts/spdxcheck.py > /dev/null
|