Removing the "no buildable source files" error on non-linux machines

pull/1905/head
Aaron Schlesinger 2017-08-31 15:24:04 -07:00
parent 8fe16fdf94
commit e99a378a85
1 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,17 @@
// +build !linux
package main
import (
"fmt"
"os"
)
func main() {
fmt.Println(
"this driver was built on a non-linux machine, so it is " +
"unavailable. Please re-build minikube on a linux machine to enable " +
"it.",
)
os.Exit(1)
}