1
0
mirror of https://github.com/rancher/steve.git synced 2025-07-14 15:14:44 +00:00
steve/vendor/github.com/json-iterator/go/build.sh
Darren Shepherd cc1e4e52a0 Update vendor
2020-02-21 22:19:07 -07:00

13 lines
381 B
Bash

#!/bin/bash
set -e
set -x
if [ ! -d /tmp/build-golang/src/github.com/json-iterator ]; then
mkdir -p /tmp/build-golang/src/github.com/json-iterator
ln -s $PWD /tmp/build-golang/src/github.com/json-iterator/go
fi
export GOPATH=/tmp/build-golang
go get -u github.com/golang/dep/cmd/dep
cd /tmp/build-golang/src/github.com/json-iterator/go
exec $GOPATH/bin/dep ensure -update