Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1615 from endocode/dongsu/glide-vendor
Browse files Browse the repository at this point in the history
glide: use glide instead of govendor
  • Loading branch information
Dongsu Park authored Jun 27, 2016
2 parents 72ec700 + 0ba24be commit e28dbf4
Show file tree
Hide file tree
Showing 257 changed files with 59,812 additions and 22,725 deletions.
92 changes: 92 additions & 0 deletions glide.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 32 additions & 0 deletions glide.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
package: github.com/coreos/fleet
import:
- package: github.com/coreos/etcd
subpackages:
- client
- package: github.com/coreos/go-semver
subpackages:
- semver
- package: github.com/coreos/go-systemd
subpackages:
- activation
- dbus
- unit
- package: github.com/jonboulle/clockwork
- package: github.com/pborman/uuid
- package: github.com/prometheus/client_golang
subpackages:
- prometheus
- package: github.com/rakyll/globalconf
- package: github.com/spf13/cobra
- package: github.com/vishvananda/netlink
- package: golang.org/x/crypto
subpackages:
- ssh
- ssh/agent
- ssh/terminal
- package: golang.org/x/net
subpackages:
- context
- package: google.golang.org/api
subpackages:
- googleapi
23 changes: 23 additions & 0 deletions scripts/glide-update.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/usr/bin/env bash
#
# Update vendored dedendencies.
#
set -e

if ! [[ "$0" =~ "scripts/glide-update.sh" ]]; then
echo "must be run from repository root"
exit 255
fi

if [ -z "$(command -v glide)" ]; then
echo "glide: command not found"
exit 255
fi

if [ -z "$(command -v glide-vc)" ]; then
echo "glide-vc: command not found"
exit 255
fi

glide update --strip-vcs --strip-vendor --update-vendored --delete
glide vc --only-code --no-tests
Loading

0 comments on commit e28dbf4

Please sign in to comment.