apply/Makefile
2021-07-13 19:04:26 -04:00

26 lines
568 B
Makefile

all:
lint:
@find apply push -type f -not -iname '*.*' | xargs shellcheck -s bash
@find run lib -type f -not -iname '*.*' | xargs shellcheck -s dash
@printf "\033[032mLINT OK\033[0m\n\n"
test: lint test-dash test-bash test-ksh
test-ash:
@cd test && ash ./lib_test.sh
@cd test && ash ./run_test.sh
test-dash:
@cd test && dash ./lib_test.sh
@cd test && dash ./run_test.sh
test-bash:
@cd test && bash ./lib_test.sh
@cd test && bash ./run_test.sh
test-ksh:
@cd test && ksh ./lib_test.sh
@cd test && ksh ./run_test.sh
.PHONY: lint test test-dash test-bash