mirror of
https://github.com/lloeki/apply.git
synced 2025-12-06 09:24:38 +01:00
ci: also test on ksh
This commit is contained in:
parent
a519746560
commit
e0d5017c98
2 changed files with 10 additions and 1 deletions
6
Makefile
6
Makefile
|
|
@ -5,7 +5,7 @@ lint:
|
||||||
@find run lib -type f -not -iname '*.*' | xargs shellcheck -s dash
|
@find run lib -type f -not -iname '*.*' | xargs shellcheck -s dash
|
||||||
@printf "\033[032mLINT OK\033[0m\n\n"
|
@printf "\033[032mLINT OK\033[0m\n\n"
|
||||||
|
|
||||||
test: lint test-dash test-bash
|
test: lint test-dash test-bash test-ksh
|
||||||
|
|
||||||
test-ash:
|
test-ash:
|
||||||
@cd test && ash ./lib_test.sh
|
@cd test && ash ./lib_test.sh
|
||||||
|
|
@ -19,4 +19,8 @@ test-bash:
|
||||||
@cd test && bash ./lib_test.sh
|
@cd test && bash ./lib_test.sh
|
||||||
@cd test && bash ./run_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
|
.PHONY: lint test test-dash test-bash
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,12 @@
|
||||||
rec {
|
rec {
|
||||||
devShell = pkgs.mkShell {
|
devShell = pkgs.mkShell {
|
||||||
buildInputs = with pkgs; [
|
buildInputs = with pkgs; [
|
||||||
|
# Shells
|
||||||
|
bash
|
||||||
dash
|
dash
|
||||||
|
ksh
|
||||||
|
|
||||||
|
# Tools
|
||||||
gnumake
|
gnumake
|
||||||
shellcheck
|
shellcheck
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue