mirror of https://github.com/namecoin/ncdns
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
370 B
Bash
15 lines
370 B
Bash
#!/usr/bin/env bash
|
|
|
|
set -euxo pipefail
|
|
shopt -s nullglob globstar
|
|
|
|
# set GOPATH if empty (travis sets it, but useful for humans)
|
|
if [ -z "$GOPATH" ]; then
|
|
GOPATH=$(go env GOPATH)
|
|
export GOPATH
|
|
fi
|
|
|
|
mkdir -p "$GOPATH"/src/github.com/"$CIRRUS_REPO_OWNER"
|
|
cp -av "$PWD" "$GOPATH"/src/github.com/"$CIRRUS_REPO_FULL_NAME"
|
|
cd "$GOPATH"/src/github.com/"$CIRRUS_REPO_FULL_NAME"
|