aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..24d23b3
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,11 @@
+.PHONY: shellcheck
+shellcheck:
+ find ./installer -name "*.sh" -type f -print0 | xargs -0 shellcheck
+
+.PHONY: shellcheck-docker
+shellcheck-docker:
+ find ./installer -name "*.sh" -type f -print0 | xargs -0 docker run -t --rm -v "${PWD}:/mnt" koalaman/shellcheck:stable
+
+.PHONY: shfmt
+shfmt:
+ find ./installer -name "*.sh" -type f -print0 | xargs -0 shfmt -w