voicemeeter/tests/pre-commit.ps1

10 lines
172 B
PowerShell
Raw Normal View History

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