Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Runge <dvzrv@archlinux.org>2021-07-31 16:33:54 +0200
committerDavid Runge <dvzrv@archlinux.org>2021-07-31 17:32:43 +0200
commit2dabc0d2479d1866d072c7559ef95d6e1b217934 (patch)
tree5ad445e3e00173c59cfcc3d26375b59a6be05b70
parent37529a96766a5841fc6561acfbfbf42b3d6ff98a (diff)
Add shfmt to check target
Makefile: Add the shfmt target to the check target.
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index fb8ebae..2dadcee 100644
--- a/Makefile
+++ b/Makefile
@@ -14,14 +14,14 @@ DOC_FILES=$(wildcard docs/*) $(wildcard *.rst)
all:
-check: shellcheck
+check: shellcheck shfmt
shellcheck:
shellcheck -s bash $(INSTALL_FILES)
shellcheck -s dash $(HOOKS_FILES) $(SCRIPT_FILES)
shfmt:
- shfmt -i 4 -d $(INSTALL_FILES) $(HOOKS_FILES) $(SCRIPT_FILES)
+ shfmt -i 4 -d $(HOOKS_FILES) $(INSTALL_FILES) $(SCRIPT_FILES)
install: install-initcpio install-doc