2022-04-16 16:18:51 +00:00
|
|
|
|
2022-11-05 15:42:01 +00:00
|
|
|
ifneq ($(shell echo),)
|
|
|
|
CMD_EXE = 1
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef CMD_EXE
|
|
|
|
|
|
|
|
.PHONY: checkstyle
|
|
|
|
|
|
|
|
checkstyle:
|
|
|
|
$(info INFO: style checks require bash.)
|
|
|
|
|
|
|
|
else
|
|
|
|
|
2022-11-03 17:27:10 +00:00
|
|
|
.PHONY: checkstyle lineendings tabs lastline spaces noexec
|
2022-04-16 16:18:51 +00:00
|
|
|
|
2022-11-03 17:27:10 +00:00
|
|
|
checkstyle: lineendings tabs lastline spaces noexec
|
|
|
|
|
|
|
|
lineendings: lineendings.sh
|
|
|
|
@./lineendings.sh
|
2022-04-16 16:18:51 +00:00
|
|
|
|
|
|
|
tabs: tabs.sh
|
|
|
|
@./tabs.sh
|
2022-04-17 14:08:21 +00:00
|
|
|
|
2022-04-16 18:00:10 +00:00
|
|
|
lastline: lastline.sh
|
|
|
|
@./lastline.sh
|
2022-04-17 14:08:21 +00:00
|
|
|
|
2022-04-16 18:00:10 +00:00
|
|
|
spaces: spaces.sh
|
|
|
|
@./spaces.sh
|
2022-05-17 13:28:41 +00:00
|
|
|
|
|
|
|
noexec: noexec.sh
|
|
|
|
@./noexec.sh
|
2022-11-05 15:42:01 +00:00
|
|
|
|
|
|
|
endif
|