1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-12-23 01:20:11 +00:00

get swag in goreleaser.yml

This commit is contained in:
Harvey Tindall 2020-10-08 21:25:34 +01:00
parent a834aa30cf
commit 0e415020f7
Signed by: hrfee
GPG Key ID: BBC65952848FB1A2

View File

@ -17,6 +17,7 @@ before:
- python3 mail/generate.py -y - python3 mail/generate.py -y
- python3 version.py {{.Version}} version.go - python3 version.py {{.Version}} version.go
- bash -c 'npx esbuild ts/* --outdir=data/static --minify' - bash -c 'npx esbuild ts/* --outdir=data/static --minify'
- go get -u github.com/swaggo/swag/cmd/swag
- swag init -g main.go - swag init -g main.go
builds: builds:
- dir: ./ - dir: ./