Skip to content

Commit

Permalink
swagger: install native swag
Browse files Browse the repository at this point in the history
  • Loading branch information
neolynx committed Dec 3, 2024
1 parent 8ac7ef2 commit 5a60298
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ version: ## Print aptly version

swagger-install:
# Install swag
@test -f $(BINPATH)/swag || GOOS=linux GOARCH=amd64 go install github.com/swaggo/swag/cmd/swag@latest
@test -f $(BINPATH)/swag || GOOS= GOARCH= go install github.com/swaggo/swag/cmd/swag@latest
# Generate swagger.conf
cp docs/swagger.conf.tpl docs/swagger.conf
echo "// @version $(VERSION)" >> docs/swagger.conf
Expand Down

0 comments on commit 5a60298

Please sign in to comment.