mirror of
https://github.com/valitydev/SigmaHQ.git
synced 2024-11-06 17:35:19 +00:00
14 lines
262 B
Bash
Executable File
14 lines
262 B
Bash
Executable File
#!/bin/bash
|
|
|
|
COVERAGE=${COVERAGE:-coverage}
|
|
|
|
for f in $(find rules/ -type f -name '*.yml')
|
|
do
|
|
echo -n .
|
|
if ! $COVERAGE run -a --include=tools/* tools/merge_sigma $f > /dev/null
|
|
then
|
|
echo "[ERROR] Error in file " $f
|
|
exit 1
|
|
fi
|
|
done
|