Add shellcheck rule to sgit/Makefile
This commit is contained in:
1 parent
5b9781474b
commit
975c5f26fc
1 file changed
+5
@@ -21,6 +21,7 @@ CP= cp
|
|||||||
INSTALL= install
|
INSTALL= install
|
||||||
RM= rm
|
RM= rm
|
||||||
SHELL= bash
|
SHELL= bash
|
||||||
|
SHELLCHECK= shellcheck
|
||||||
|
|
||||||
#CFLAGS= -O3 -g3 --pedantic -Wall -Werror
|
#CFLAGS= -O3 -g3 --pedantic -Wall -Werror
|
||||||
CFLAGS= -O3 -g3 --pedantic -Wall
|
CFLAGS= -O3 -g3 --pedantic -Wall
|
||||||
@@ -45,6 +46,10 @@ winner_name: winner_name.sh
|
|||||||
${CP} -f -v $? $@
|
${CP} -f -v $? $@
|
||||||
${CHMOD} +x $@
|
${CHMOD} +x $@
|
||||||
|
|
||||||
|
|
||||||
|
shellcheck: sgit.sh
|
||||||
|
@${SHELLCHECK} sgit.sh
|
||||||
|
|
||||||
#################################################
|
#################################################
|
||||||
# .PHONY list of rules that do not create files #
|
# .PHONY list of rules that do not create files #
|
||||||
#################################################
|
#################################################
|
||||||
|
|||||||
Reference in new issue
Block a user