We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have many directories with go code. For the addlicence works, I have to do this:
docker run --rm -it -v ${PWD}:/src ghcr.io/google/addlicense \ -check \ -ignore "**/*.swagger.go" \ -ignore "**/**/*.swagger.go" \ */*/*.go **/**/**/**/**/**/*.go \ **/**/**/**/**/*.go \ **/**/**/**/*.go \ **/**/**/*.go \ **/**/*.go \ **/*.go \ *.go
Is there a better way only to check Golang code in any path? And ignore some file patterns in any path?
The text was updated successfully, but these errors were encountered:
This also works:
find path/ -type f -name '*.go' -print0 | xargs -0 -n1 docker run --rm -it -v ${PWD}:/src ghcr.io/google/addlicense -check
Sorry, something went wrong.
No branches or pull requests
I have many directories with go code. For the addlicence works, I have to do this:
Is there a better way only to check Golang code in any path? And ignore some file patterns in any path?
The text was updated successfully, but these errors were encountered: