gh-ost/script/godep
2016-10-26 19:55:37 +02:00

19 lines
299 B
Bash
Executable File

#!/bin/bash
set -e
PREVGOPATH=$GOPATH
. script/bootstrap
mkdir -p bin
bindir="$PWD"/bin
# Put the GOPATH for the user before our fake one so we can run `godep save ./...`
if [ -n "$PREVGOPATH" ]; then
export GOPATH=$PREVGOPATH:$GOPATH
fi
cd .gopath/src/github.com/github/gh-ost
godep "$@"