7ef5ebb695
This should automatically check for problems on build.
8 lines
247 B
Bash
Executable File
8 lines
247 B
Bash
Executable File
#!/bin/sh
|
|
# Run semgrep if installed, skip gracefully if not
|
|
if command -v semgrep >/dev/null 2>&1; then
|
|
semgrep --config=.semgrep.yml --error --quiet src/
|
|
else
|
|
echo "semgrep not installed, skipping (install with: pip install semgrep)"
|
|
fi
|