mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-05 00:39:59 +00:00
98263a7de6
* start fixing up tests * fix up tests + automate with drone * fiddle with linting * messing about with drone.yml * some more fiddling * hmmm * add cache * add vendor directory * verbose * ci updates * update some little things * update sig
13 lines
381 B
Bash
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
|