apply/Makefile
2021-07-12 22:36:20 -04:00

22 lines
486 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-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
.PHONY: lint test test-dash test-bash