Skip to content

Commit

Permalink
refactor: Run dependencies check only once
Browse files Browse the repository at this point in the history
  • Loading branch information
pawamoy committed Nov 14, 2021
1 parent 1d88d93 commit 3278aec
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion project/Makefile.jinja
Expand Up @@ -11,6 +11,7 @@ test_args = match

BASIC_DUTIES = \
changelog \
check-dependencies \
clean \
coverage \
docs \
Expand All @@ -26,7 +27,6 @@ BASIC_DUTIES = \
QUALITY_DUTIES = \
check \
check-quality \
check-dependencies \
check-docs \
check-types \
test
Expand All @@ -43,6 +43,11 @@ lock:
setup:
@bash scripts/setup.sh

.PHONY: check
check:
@bash scripts/multirun.sh duty check-quality check-types check-docs
@$(DUTY) check-dependencies

.PHONY: $(BASIC_DUTIES)
$(BASIC_DUTIES):
@$(DUTY) $@ $(call args,$@)
Expand Down

0 comments on commit 3278aec

Please sign in to comment.