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

12 lines
279 B
PowerShell

Function RunTests {
$run_ext_tests = "go clean -testcache; go test -v .\tests\"
$run_int_tests = "go clean -testcache; go test -v .\voicemeeter\"
Invoke-Expression $run_ext_tests
Invoke-Expression $run_int_tests
}
if ($MyInvocation.InvocationName -ne ".") {
RunTests
}