#!/usr/bin/env bash # # Update vendored dedendencies. # set -e if ! [[ "$PWD" = "$GOPATH/src/github.com/rkt/rkt" ]] { echo "must be run from \$GOPATH/src/github.com/rkt/rkt" exit 255 } if test ! $[command -v glide] { echo "glide: command not found" exit 255 } if test ! $[command -v glide-vc] { echo "glide-vc: command not found" exit 255 } glide update --strip-vendor glide-vc --only-code --no-tests --keep="**/*.json.in" --use-lock-file