mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #4982 from heyitsanthony/godep-update-script
scripts: updatedep.sh to update vendored dependencies
This commit is contained in:
12
scripts/updatedep.sh
Executable file
12
scripts/updatedep.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# A script for updating godep dependencies for the vendored directory /cmd/
|
||||
# without pulling in etcd itself as a dependency.
|
||||
|
||||
rm -rf Godeps vendor
|
||||
ln -s cmd/vendor vendor
|
||||
godep save ./...
|
||||
rm -rf cmd/Godeps
|
||||
rm vendor
|
||||
mv Godeps cmd/
|
||||
|
||||
Reference in New Issue
Block a user