Skip to content

Commit

Permalink
fix makefile to check the swag binary
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkpc138 committed Oct 10, 2024
1 parent 070f122 commit 06cd6f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ $(GOLANGCI_LINTER): $(LOCALBIN)
@curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(LOCALBIN) $(GOLANGCI_LINT_TOOLS_VERSION)

.PHONY: swag
swag: ## Install swag if necessary.
swag: $(SWAG) ## Install swag if necessary.
$(SWAG): $(LOCALBIN)
@GOBIN=$(LOCALBIN) go install github.com/swaggo/swag/cmd/swag@$(SWAG_VERSION)
GOBIN=$(LOCALBIN) go install github.com/swaggo/swag/cmd/swag@$(SWAG_VERSION)

.PHONY: widdershins
widdershins: ## Install widdershins if necessary.
Expand Down

0 comments on commit 06cd6f9

Please sign in to comment.