add validation tools
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
if ! git rev-parse --is-inside-work-tree > /dev/null 2>&1; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ "$(pwd)" != "$(git rev-parse --show-toplevel)" ]; then
|
||||
exit 1
|
||||
fi
|
||||
Reference in New Issue
Block a user