...

Text file src/github.com/json-iterator/go/build.sh

Documentation: github.com/json-iterator/go

     1#!/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

View as plain text