LoginSignup
3
2

More than 5 years have passed since last update.

dep ensure -updateで特定packageのみ更新する

Last updated at Posted at 2018-12-04

下記コマンドだと依存package全ての更新をしてしまうので...

$ dep ensure -update

-updateの引数にpackage名を渡すと特定packageのみ更新できる

$ dep ensure -update github.com/hogehoge

以下のように.vendor-newが存在するのでエラーだよと怒られた時は...

grouped write of manifest, lock and vendor:
scratch directory hogehoge/.vendor-new already exists, please remove it

指示通り.vendor-newを削除してから再度実行する

3
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
2