aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/json-iterator/go/build.sh
blob: b45ef688313ec5063cd21ac84ee5ed87d3849c38 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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