voicemeeter/tests/pre-commit.ps1

10 lines
168 B
PowerShell
Raw Normal View History

2022-06-25 01:05:56 +01:00
Function RunTests {
$run_tests = "go clean -testcache; go test ../..."
Invoke-Expression $run_tests
}
if ($MyInvocation.InvocationName -ne ".") {
RunTests
}