mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-23 08:56:29 +00:00
19 lines
538 B
Text
19 lines
538 B
Text
1. Install go 1.9 or later
|
|
2. Execute `make install` to compile project and install binaries to `GOPATH`
|
|
|
|
---
|
|
|
|
0. To generate SQL files
|
|
|
|
go get github.com/vektra/mockery/.../
|
|
|
|
export download_url=$(curl -s https://api.github.com/repos/go-swagger/go-swagger/releases/latest | \
|
|
jq -r '.assets[] | select(.name | contains("'"$(uname | tr '[:upper:]' '[:lower:]')"'_amd64")) | .browser_download_url')
|
|
curl -o swagger -L'#' "$download_url"
|
|
chmod +x swagger
|
|
sudo mv swagger /usr/local/bin
|
|
|
|
go get github.com/woodpecker-ci/togo
|
|
|
|
go generate
|
|
|