From 975c5f26fce77c812d3c535530ef29897376e303 Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Mon, 25 Sep 2023 05:31:42 -0700 Subject: [PATCH] Add shellcheck rule to sgit/Makefile --- src/sgit/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/sgit/Makefile b/src/sgit/Makefile index 9c84c5de4..38fc4666a 100644 --- a/src/sgit/Makefile +++ b/src/sgit/Makefile @@ -21,6 +21,7 @@ CP= cp INSTALL= install RM= rm SHELL= bash +SHELLCHECK= shellcheck #CFLAGS= -O3 -g3 --pedantic -Wall -Werror CFLAGS= -O3 -g3 --pedantic -Wall @@ -45,6 +46,10 @@ winner_name: winner_name.sh ${CP} -f -v $? $@ ${CHMOD} +x $@ + +shellcheck: sgit.sh + @${SHELLCHECK} sgit.sh + ################################################# # .PHONY list of rules that do not create files # #################################################