2017-10-21 17:29:14 +00:00
|
|
|
1. Install go 1.9 or later
|
2021-09-09 17:39:59 +00:00
|
|
|
2. Execute `make install` to compile project and install binaries to `GOPATH`
|
2019-06-07 08:43:42 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2021-05-25 12:15:22 +00:00
|
|
|
go get github.com/woodpecker-ci/togo
|
2019-06-07 08:43:42 +00:00
|
|
|
|
|
|
|
go generate
|
|
|
|
|