1
0
mirror of https://github.com/cc65/cc65.git synced 2024-05-29 08:41:31 +00:00

when running on cmd.exe only print a message, the style tests

require bash
This commit is contained in:
mrdudz 2022-11-05 16:42:01 +01:00
parent 53b62184e8
commit 699ba1fbd6

View File

@ -1,4 +1,17 @@
ifneq ($(shell echo),)
CMD_EXE = 1
endif
ifdef CMD_EXE
.PHONY: checkstyle
checkstyle:
$(info INFO: style checks require bash.)
else
.PHONY: checkstyle lineendings tabs lastline spaces noexec .PHONY: checkstyle lineendings tabs lastline spaces noexec
checkstyle: lineendings tabs lastline spaces noexec checkstyle: lineendings tabs lastline spaces noexec
@ -17,3 +30,5 @@ spaces: spaces.sh
noexec: noexec.sh noexec: noexec.sh
@./noexec.sh @./noexec.sh
endif