parent
120ea7117e
commit
355ec402d1
8
git-hooks.md
Normal file
8
git-hooks.md
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
Put the following in `.git/modules/public/hooks/pre-commit`:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
tools/scripts/lint.py || exit 1
|
||||||
|
dotnet test SharedTests/SharedTests.csproj || exit 1
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user