Update Makefile and add git pre-push hook (#1382)
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# Git hooks
|
||||
|
||||
* pre-push: Check, build and test the changes.
|
||||
|
||||
```bash
|
||||
$ cp githooks/* .git/hooks/
|
||||
```
|
||||
Executable
+6
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
ROOT=`realpath $(dirname $0)/../..`
|
||||
pushd $ROOT
|
||||
make
|
||||
popd
|
||||
Reference in New Issue
Block a user