mirror of
https://github.com/onyx-and-iris/voicemeeter.git
synced 2024-11-22 04:40:53 +00:00
pre-commit added for use with git hook
This commit is contained in:
parent
e868bf2ef0
commit
ef4fefacc1
9
tests/pre-commit.ps1
Normal file
9
tests/pre-commit.ps1
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
Function RunTests {
|
||||||
|
$run_tests = "go clean -testcache; go test ../..."
|
||||||
|
|
||||||
|
Invoke-Expression $run_tests
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($MyInvocation.InvocationName -ne ".") {
|
||||||
|
RunTests
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user