mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-11 19:16:32 +00:00
75513575be
* store dependency's in git * since we vendor ... rm tech-depts * aad make target 'vendor' to update vendor folder (manual task)
12 lines
381 B
Bash
12 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
|