mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-04 03:11:55 +02:00
8749030d3b
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
16 lines
178 B
Go
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())
|
|
}
|