Skip to content

Commit

Permalink
devenv: Add make targets for pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
alcarney committed May 10, 2024
1 parent 3b3325c commit 07d8933
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
include .devcontainer/tools.mk

.PHONY: lint enable-pre-commit disable-pre-commit

lint: $(PRE_COMMIT)
$(PRE_COMMIT) run --all-files


enable-pre-commit: $(PRE_COMMIT)
$(PRE_COMMIT) install

disable-pre-commit: $(PRE_COMMIT)
$(PRE_COMMIT) uninstall

0 comments on commit 07d8933

Please sign in to comment.