email-assistant/Makefile
Ian Fijolek aafb524673 Add pre-commit with black
No hooks are run in this commit
2020-12-11 13:06:11 -05:00

22 lines
331 B
Makefile

SUBDIRS := $(wildcard */.)
.PHONY: default test clean
default: check
.PHONY: all
all: $(SUBDIRS)
.PHONY: $(SUBDIRS)
$(SUBDIRS):
$(MAKE) -C $@
# Installs pre-commit hooks
.PHONY: install-hooks
install-hooks:
pre-commit install -f --install-hooks
# Checks files for encryption
.PHONY: check
check:
pre-commit run --all-files