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:
commit
487df473c5
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue