mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-11-08 05:23:41 +08:00
11 lines
177 B
Bash
Executable File
11 lines
177 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
FAIL=0
|
|
|
|
if grep -n '\(#\|//\)\([[:space:]]*\)NOMERGE' "$@"; then
|
|
echo -e "NOMERGE comments found! Remove them before merging\n"
|
|
FAIL=1
|
|
fi
|
|
|
|
exit "$FAIL"
|