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

10 lines
172 B
PowerShell

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