Skip to content

Commit

Permalink
add_license.sh ignores zz_generated.* source files
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Valdron <[email protected]>
  • Loading branch information
michael-valdron committed Sep 18, 2023
1 parent 829a3e8 commit 6802642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion add_licenses.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ then
echo "error addlicense must be installed with this command: go install github.com/google/addlicense@latest" && exit 1
else
echo 'addlicense -v -f license_header.txt **/*.go'
addlicense -v -f license_header.txt $(find . -not -path '*/\.*' -not -path '*/vendor/*' -name '*.go')
addlicense -v -f license_header.txt $(find . -not -path '*/\.*' -not -path '*/vendor/*' -not -name 'zz_generated.*.go' -name '*.go')
fi


0 comments on commit 6802642

Please sign in to comment.