voicemeeter/tests/pre-commit.ps1
2022-06-25 01:05:56 +01:00

10 lines
168 B
PowerShell

Function RunTests {
$run_tests = "go clean -testcache; go test ../..."
Invoke-Expression $run_tests
}
if ($MyInvocation.InvocationName -ne ".") {
RunTests
}