1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-04 03:11:55 +02:00
goreleaser/internal/exec/exec_mock_test.go
Radek Simko 8749030d3b
feat: Add support for custom publishers (#1481)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-05-10 16:03:49 +00:00

16 lines
178 B
Go

package exec
import (
"os"
"testing"
)
func TestMain(m *testing.M) {
if v := os.Getenv(MockEnvVar); v != "" {
os.Exit(ExecuteMockData(v))
return
}
os.Exit(m.Run())
}