aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNicholas Rodrigues Lordello <[email protected]>2026-09-08 09:33:19 +0200
committerNicholas Rodrigues Lordello <[email protected]>2026-09-08 10:09:10 +0200
commit09de89ea286103b524b59bab7d4ea016ceac00a3 (patch)
tree430a8592dd855bd935aa988cf971fad4c6dfd8a4 /Makefile
parent7de640336703e8bbc79f6d880017704d866fecfb (diff)
Small Script Improvements
First of all, we just use Bash instead of POSIX `sh` - there are some goodies that make it more robust (like `pipefail` and array expansion). This also allows us to make a few more checks on the parameters (such as denying invalid host specifies for `scp`). Added an option for regenerating the SSH configuration
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b2bb4fe..318cf84 100644
--- a/Makefile
+++ b/Makefile
@@ -23,3 +23,8 @@ install: dbx
.PHONY: container
container: container/Containerfile container/init
$(CONTAINER) build --tag $(IMAGE) container
+
+.PHONY: check
+check: dbx
+ shellcheck dbx
+ shfmt -d dbx