mirror of
https://github.com/bluszcz/cutego.git
synced 2024-09-28 21:25:16 +03:00
fix go module related issue
This commit is contained in:
parent
46e554d25d
commit
4c87557032
4 changed files with 4 additions and 4 deletions
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue