aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-03-24 17:17:23 -0300
committerEuAndreh <eu@euandre.org>2023-03-24 17:17:23 -0300
commit653d2e71c7be35c76dc088b5fd01634d9b90531e (patch)
treed6c8ad151859ae9a0796c7a380f5c1a42daf95fd /Makefile
parentsrc/bin/paku.in: Add "PREFIX=#{prefix}" to all make calls in homebrew (diff)
downloadpackage-repository-653d2e71c7be35c76dc088b5fd01634d9b90531e.tar.gz
package-repository-653d2e71c7be35c76dc088b5fd01634d9b90531e.tar.xz
Makefile: Add "check-shellcheck" target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e61f1dc..2b72033 100644
--- a/Makefile
+++ b/Makefile
@@ -110,6 +110,9 @@ clean: src/bin/paku
$(derived-assets) result* *.mk *.sentinel public/
+check-shellcheck:
+ git ls-files | grep '\.sh$$' | xargs shellcheck
+
local-files = \
/etc/postfix/master.cf \
/etc/postfix/main.cf \
@@ -143,4 +146,4 @@ check-debian-x86_64-deb:
check-debian: check-debian-x86_64-deb
-check: check-guix check-ubuntu check-debian
+check: check-shellcheck check-guix check-ubuntu check-debian