Merge pull request #4982 from heyitsanthony/godep-update-script

scripts: updatedep.sh to update vendored dependencies
This commit is contained in:
Anthony Romano
2016-04-11 19:47:18 -07:00

12
scripts/updatedep.sh Executable file
View 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/