add exception for go-gl
This commit is contained in:
parent
34a287a38e
commit
e25095f2e7
|
@ -51,6 +51,9 @@ func clonePathHack(dirname string, basedir string, gopath string) (string, error
|
||||||
case "google.golang.org/appengine":
|
case "google.golang.org/appengine":
|
||||||
return cloneActual(dirname, basedir, "https://"+"go.googlesource.com/appengine")
|
return cloneActual(dirname, basedir, "https://"+"go.googlesource.com/appengine")
|
||||||
}
|
}
|
||||||
|
if strings.HasPrefix(gopath, "github.com/go-gl/glfw") {
|
||||||
|
return cloneActual(dirname, basedir, "https://github.com/go-gl/glfw")
|
||||||
|
}
|
||||||
|
|
||||||
return "", errors.New("no gopath override here")
|
return "", errors.New("no gopath override here")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue