blob: b45ef688313ec5063cd21ac84ee5ed87d3849c38 [file] [log] [blame]
Scott Bakere7144bc2019-10-01 14:16:47 -07001#!/bin/bash
2set -e
3set -x
4
5if [ ! -d /tmp/build-golang/src/github.com/json-iterator ]; then
6 mkdir -p /tmp/build-golang/src/github.com/json-iterator
7 ln -s $PWD /tmp/build-golang/src/github.com/json-iterator/go
8fi
9export GOPATH=/tmp/build-golang
10go get -u github.com/golang/dep/cmd/dep
11cd /tmp/build-golang/src/github.com/json-iterator/go
12exec $GOPATH/bin/dep ensure -update