From 5f1e30af8006806ee10f0dc1ff225fc543634247 Mon Sep 17 00:00:00 2001 From: naskya Date: Wed, 10 Jan 2024 12:08:13 +0900 Subject: [PATCH] dev: add shellcheck to Makefile --- Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 76fcca58a..0ab224023 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,15 @@ .PHONY: all -all: build_image +all: shellcheck build_image + + +.PHONY: shellcheck +shellcheck: + shellcheck --external-sources update.sh + shellcheck --external-sources neko/update/main.sh + shellcheck --external-sources neko/update/patch.sh + shellcheck --external-sources neko/update/container.sh + shellcheck --external-sources neko/update/native.sh + shellcheck --external-sources --exclude=SC2148 neko/update/utils .PHONY: build_image