doushang1880 2019-03-20 06:09
浏览 452
已采纳

带参数的jfrog go命令

Documentation suggests to build a project with jfrog rt go build --no-registry. We are using go modules and the command fails on recognising current module - can't load package: package unknown import path cannot find module providing package, same as go build does.

go build ./... does work though but I can't do jfrog rt go build ./.. --no-registry. Does jfrog rt go build --no-registry do anything else apart from calling go build anyway? Is there a way to pass the parameters?

  • 写回答

1条回答 默认 最新

  • dpmfur2635 2019-03-22 15:32
    关注

    Can you run jfrog rt go "build ./..." --no-registry (with build and ./...) in quotes. That seems to work on my machine (after removing my local package cache I can see the modules being downloaded from GitHub).

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?