0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-16 21:56:37 -05:00

Merge pull request #22 from tych0/install-swag

install swag instead of updating it in the go deps
This commit is contained in:
Tycho Andersen 2019-09-03 15:12:49 -06:00 committed by GitHub
commit 487df473c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,7 +25,7 @@ check:
golangci-lint run --enable-all ./cmd/... ./pkg/... golangci-lint run --enable-all ./cmd/... ./pkg/...
docs/docs.go: docs/docs.go:
swag -v || go get -u github.com/swaggo/swag/cmd/swag swag -v || go install github.com/swaggo/swag/cmd/swag
swag init -g pkg/api/routes.go swag init -g pkg/api/routes.go
.PHONY: doc .PHONY: doc