File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030VIOLATIONS=$( grep -rn " KBBI\|kbbi\|harmorph_stemmer" src/ tests/ benches/ examples/ README.md Cargo.toml 2> /dev/null || true)
3131if [ -n " $VIOLATIONS " ]; then
3232 echo " $VIOLATIONS "
33- fail " Proprietary references found — remove before committing to public repo"
33+ fail " Proprietary references found (dictionary references, old package name) — remove before committing to public repo"
3434fi
3535pass " proprietary reference guard"
3636
Original file line number Diff line number Diff line change 2929guard :
3030 @echo " Scanning for proprietary references..."
3131 @if grep -rn " KBBI\|kbbi\|harmorph_stemmer" src/ tests/ benches/ examples/ README.md Cargo.toml 2> /dev/null; then \
32- echo " ERROR: Proprietary references found" ; exit 1; \
32+ echo " ERROR: Proprietary references found (check for dictionary references, old package name) " ; exit 1; \
3333 else \
3434 echo " OK: No proprietary references found" ; \
3535 fi
You can’t perform that action at this time.
0 commit comments