8 lines
116 B
Bash
Executable File
8 lines
116 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
grep -nHR NOCOMMIT src/ || exit 0
|
|
echo "Failed: one or more NOCOMMIT comments were found"
|
|
exit 1
|