diff options
author | EuAndreh <eu@euandre.org> | 2023-04-04 12:10:54 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-04-04 12:10:54 -0300 |
commit | bf4a390c23a860ff8bda9538942f2b16cdcf8c05 (patch) | |
tree | ddc45415eeb7e8908605745294f58647fd18f533 /v2/dynamic.mk | |
parent | Revamp v2/ (diff) | |
download | euandre.org-bf4a390c23a860ff8bda9538942f2b16cdcf8c05.tar.gz euandre.org-bf4a390c23a860ff8bda9538942f2b16cdcf8c05.tar.xz |
Makefile: Add ShellCheck to "check" target
Diffstat (limited to '')
-rw-r--r-- | v2/dynamic.mk | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/v2/dynamic.mk b/v2/dynamic.mk index d31be9f..92ff6ee 100644 --- a/v2/dynamic.mk +++ b/v2/dynamic.mk @@ -84,8 +84,15 @@ src/content/.well-known/security.txt: src/content/public.asc.txt src/development sh src/development/security-txt.sh > $@ -check: -dev: check + +test-files = \ + aux/checks/shellcheck.sh \ + +$(test-files): ALWAYS + sh $@ + +check: $(test-files) +dev: all check run: all serve -d public/ @@ -97,3 +104,5 @@ upload: public --delete \ --exclude 's/*' \ public/ $(DOMAIN):/srv/www/ + +ALWAYS: |