simple script(s) to check if bsearch tables are sorted correctly

This commit is contained in:
mrdudz
2025-06-09 18:26:41 +02:00
parent ba80de5efc
commit d368f3d0ea
4 changed files with 170 additions and 2 deletions

View File

@@ -5,14 +5,18 @@ endif
ifdef CMD_EXE
.PHONY: checkstyle
.PHONY: checkstyle sorted
checkstyle:
$(info INFO: style checks require bash.)
sorted:
$(info INFO: table checks require bash.)
else
.PHONY: checkstyle lineendings tabs lastline spaces noexec
.PHONY: checkstyle lineendings tabs lastline spaces noexec sorted
all: checkstyle sorted
checkstyle: lineendings tabs lastline spaces noexec
@@ -31,4 +35,8 @@ spaces: spaces.sh
noexec: noexec.sh
@./noexec.sh
sorted: sorted.sh sorted_codeopt.sh
@./sorted.sh
@./sorted_codeopt.sh
endif