Thierry Reding | b72231e | 2018-12-28 00:31:32 -0800 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | |
Nishanth Menon | 03b1292 | 2021-07-07 16:06:00 -0500 | [diff] [blame] | 3 | # run check on a text and a binary file |
| 4 | for FILE in Makefile Documentation/logo.gif; do |
| 5 | python3 scripts/spdxcheck.py $FILE |
| 6 | python3 scripts/spdxcheck.py - < $FILE |
Thierry Reding | b72231e | 2018-12-28 00:31:32 -0800 | [diff] [blame] | 7 | done |
Nishanth Menon | 03b1292 | 2021-07-07 16:06:00 -0500 | [diff] [blame] | 8 | |
| 9 | # run check on complete tree to catch any other issues |
| 10 | python3 scripts/spdxcheck.py > /dev/null |