fix go module related issue

This commit is contained in:
therecipe 2019-09-14 21:31:31 +02:00
parent 46e554d25d
commit 4c87557032
4 changed files with 4 additions and 4 deletions

View file

@ -53,7 +53,7 @@ func Deploy(mode, target, path string, docker bool, ldFlags, tags string, fast b
if utils.QT_DOCKER() {
cmd := exec.Command("go", "get", "-v", "-d", "github.com/therecipe/qt/internal/binding/files/docs/"+utils.QT_API(utils.QT_VERSION())) //TODO: needs to pull 5.8.0 if QT_WEBKIT
cmd.Dir = path
utils.RunCmd(cmd, "go get docs")
utils.RunCmdOptional(cmd, "go get docs") //TODO: this can fail if QT_PKG_CONFIG
if strings.HasPrefix(target, "sailfish") || strings.HasPrefix(target, "android") { //TODO: generate android and sailfish minimal instead
cmd := exec.Command(filepath.Join(utils.GOBIN(), "qtsetup"), "generate", target)

View file

@ -29,7 +29,7 @@ func Minimal(path, target, tags string) {
if utils.QT_DOCKER() {
cmd := exec.Command("go", "get", "-v", "-d", "github.com/therecipe/qt/internal/binding/files/docs/"+utils.QT_API(utils.QT_VERSION())) //TODO: needs to pull 5.8.0 if QT_WEBKIT
cmd.Dir = path
utils.RunCmd(cmd, "go get docs")
utils.RunCmdOptional(cmd, "go get docs") //TODO: this can fail if QT_PKG_CONFIG
if strings.HasPrefix(target, "sailfish") || strings.HasPrefix(target, "android") { //TODO: generate android and sailfish minimal instead
cmd := exec.Command(filepath.Join(utils.GOBIN(), "qtsetup"), "generate", target)

View file

@ -60,7 +60,7 @@ func Moc(path, target, tags string, fast, slow, deploying bool) {
if utils.QT_DOCKER() {
cmd := exec.Command("go", "get", "-v", "-d", "github.com/therecipe/qt/internal/binding/files/docs/"+utils.QT_API(utils.QT_VERSION())) //TODO: needs to pull 5.8.0 if QT_WEBKIT
cmd.Dir = path
utils.RunCmd(cmd, "go get docs")
utils.RunCmdOptional(cmd, "go get docs") //TODO: this can fail if QT_PKG_CONFIG
if strings.HasPrefix(target, "sailfish") || strings.HasPrefix(target, "android") { //TODO: generate android and sailfish minimal instead
cmd := exec.Command(filepath.Join(utils.GOBIN(), "qtsetup"), "generate", target)

View file

@ -34,7 +34,7 @@ func Rcc(path, target, tagsCustom, output_dir string, useuic, quickcompiler, dep
if utils.QT_DOCKER() {
cmd := exec.Command("go", "get", "-v", "-d", "github.com/therecipe/qt/internal/binding/files/docs/"+utils.QT_API(utils.QT_VERSION())) //TODO: needs to pull 5.8.0 if QT_WEBKIT
cmd.Dir = path
utils.RunCmd(cmd, "go get docs")
utils.RunCmdOptional(cmd, "go get docs") //TODO: this can fail if QT_PKG_CONFIG
if strings.HasPrefix(target, "sailfish") || strings.HasPrefix(target, "android") { //TODO: generate android and sailfish minimal instead
cmd := exec.Command(filepath.Join(utils.GOBIN(), "qtsetup"), "generate", target)