mirror of
https://github.com/crowdsecurity/crowdsec.git
synced 2025-05-10 20:05:55 +02:00
11 lines
261 B
Bash
Executable file
11 lines
261 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# Run this from the repository root:
|
|
#
|
|
# .github/codecov-ignore-generated.sh >> .github/codecov.yml
|
|
|
|
find . -name "*.go" | while read -r file; do
|
|
if head -n 1 "$file" | grep -q "Code generated by"; then
|
|
echo " - \"$file\""
|
|
fi
|
|
done
|