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-file-for-go.wit.com:
|
||||||
curl --silent http://localhost:9419/goweblist?readonly=true
|
curl --silent http://localhost:9419/goweblist?readonly=true
|
||||||
curl --silent http://localhost:9419/goweblist?readonly=true |sort > ~/go.wit.com.versions
|
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
|
return false
|
||||||
}
|
}
|
||||||
// skip primative ones
|
// 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())
|
log.Info("fixGoDeps() skipping primitive", check.GetGoPath())
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
2
http.go
2
http.go
|
@ -276,7 +276,7 @@ func showNext() {
|
||||||
} else {
|
} else {
|
||||||
log.Info("CheckDirty() == false")
|
log.Info("CheckDirty() == false")
|
||||||
}
|
}
|
||||||
if ok, _ := check.IsPrimitive(); ok {
|
if check.GetGoPrimitive() {
|
||||||
log.Info("IsPrimitive() == true")
|
log.Info("IsPrimitive() == true")
|
||||||
} else {
|
} else {
|
||||||
log.Info("IsPrimitive() == false")
|
log.Info("IsPrimitive() == false")
|
||||||
|
|
Loading…
Reference in New Issue