updatedep.sh 254 B

123456789101112
  1. #!/usr/bin/env bash
  2. # A script for updating godep dependencies for the vendored directory /cmd/
  3. # without pulling in etcd itself as a dependency.
  4. rm -rf Godeps vendor
  5. ln -s cmd/vendor vendor
  6. godep save ./...
  7. rm -rf cmd/Godeps
  8. rm vendor
  9. mv Godeps cmd/