diff --git a/git-hooks.md b/git-hooks.md new file mode 100644 index 0000000..ea7fd36 --- /dev/null +++ b/git-hooks.md @@ -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 +``` \ No newline at end of file