use GetGoPrimitive()
This commit is contained in:
parent
4e0a111c8c
commit
491c4455d8
7
Makefile
7
Makefile
|
@ -98,3 +98,10 @@ curl-list-everything:
|
|||
curl-file-for-go.wit.com:
|
||||
curl --silent http://localhost:9419/goweblist?readonly=true
|
||||
curl --silent http://localhost:9419/goweblist?readonly=true |sort > ~/go.wit.com.versions
|
||||
|
||||
safe-build: install
|
||||
forge --find-private
|
||||
wit-package --no-gui --make-install
|
||||
cd ~/go/src/go.wit.com/lib/xgb/ && GUIRELEASE_REASON="safe-build" guireleaser
|
||||
|
||||
|
||||
|
|
|
@ -134,7 +134,11 @@ func fixGodeps(check *gitpb.Repo) bool {
|
|||
return false
|
||||
}
|
||||
// skip primative ones
|
||||
if ok, _ := check.IsPrimitive(); ok {
|
||||
if check.GetGoPrimitive() {
|
||||
if check.Exists("go.sum") {
|
||||
log.Info("fixGoDeps() has go.sum but says it is primitive", check.GetGoPath())
|
||||
return false
|
||||
}
|
||||
log.Info("fixGoDeps() skipping primitive", check.GetGoPath())
|
||||
return true
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue