13 lines
377 B
Go
13 lines
377 B
Go
//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")
|
||
|
|
}
|
||
|
|
}
|