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