summaryrefslogblamecommitdiff
path: root/scripts/spdxcheck-test.sh
blob: 9f6d1a74da6ef5ed76ee3c913fd37c8865d358f7 (plain) (tree)
1
2
3
4
5
6
7
8
9
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