blob: b45ef688313ec5063cd21ac84ee5ed87d3849c38 [file] [log] [blame]
Matthias Andreas Benkard832a54e2019-01-29 09:27:38 +01001#!/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