Sam*_*Sam 7 go dependency-management terraform godeps
嗨我正在按照hashicorp/terraform给出的步骤执行以下活动
# Get latest master branch's dependencies staged in local $GOPATH
git checkout master
git pull
godep restore -v
# Make your way to the dependency in question and checkout the target ref
pushd $GOPATH/src/github.com/some/dependency
git checkout [latest]
# Head back to Terraform on a feature branch and update the dependncy to the
# version currently in your $GOPATH
popd
git checkout my-feature-branch
godep update github.com/...
Run Code Online (Sandbox Code Playgroud)
在此之后,我可以看到我的Godep.json文件已更新,但我没有看到供应商文件夹中的更改.它仍指向旧.好吧,我正在寻找来自供应商的emr支持,因为我正在更新go-aws-sdk,这是最新的go-aws-sdk.当我调用go update github.com/...它修改了godep.json而不是vendor文件夹.有人可以让我知道原因.谢谢
| 归档时间: |
|
| 查看次数: |
993 次 |
| 最近记录: |