Skip to content

Commit

Permalink
add precommit cmd in makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Nlhmmh committed Feb 21, 2024
1 parent bf48866 commit 44a985d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ run: ## Run server
lint: ## Lint
golangci-lint run

.PHONY: precommit
precommit: ## precommit
pre-commit run

.PHONY: merge
merge: ## Merge swagger into single file
cd ./swagger && merger -f index.yml -o swagger.yml
Expand Down
2 changes: 0 additions & 2 deletions tools/lint.sh

This file was deleted.

0 comments on commit 44a985d

Please sign in to comment.