add exception for go-gl

This commit is contained in:
Jeff Carr 2024-12-05 17:40:23 -06:00
parent 34a287a38e
commit e25095f2e7
1 changed files with 3 additions and 0 deletions

View File

@ -51,6 +51,9 @@ func clonePathHack(dirname string, basedir string, gopath string) (string, error
case "google.golang.org/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")
}