This repository has been archived on 2026-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
powersync-core/tests/auto/checklicenseheaders.sh

10 lines
231 B
Bash
Executable File

results=`licensecheck -r -c '\.(cpp|h)$' $1 | grep -v "GPL (v2)"`
if test -z "$results"; then
exit 0
else
echo "*** License check failed. Offending files:"
licensecheck -r -c '\.(cpp|h)$' $1 | grep -v "GPL (v2)"
exit 1
fi