Files
openchamber-android-native/third_party/mygo/plugins/automation/off.go
T

13 lines
377 B
Go
Raw Normal View History

//go:build mygo_noinspector
package automation
import "os"
// Builds without the inspector leave the plugin out, as they are the
// app's release: it says so rather than leave a test runner waiting.
func init() {
if os.Getenv("MYGO_AUTOMATION") != "" {
os.Stderr.WriteString("mygo: MYGO_AUTOMATION is ignored: this build leaves automation out (mygo_noinspector)\n")
}
}