From 2dabc0d2479d1866d072c7559ef95d6e1b217934 Mon Sep 17 00:00:00 2001 From: David Runge Date: Sat, 31 Jul 2021 16:33:54 +0200 Subject: Add shfmt to check target Makefile: Add the shfmt target to the check target. --- Makefile | 4 ++-- 1 file 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 -- cgit v1.2.3-54-g00ecf