mirror of
https://github.com/TheLocehiliosan/yadm
synced 2026-03-02 03:49:29 +00:00
Process bootstrap with Shellcheck
This commit is contained in:
2
Makefile
2
Makefile
@@ -29,7 +29,7 @@ bats:
|
||||
shellcheck:
|
||||
@echo Running shellcheck
|
||||
@shellcheck --version || true
|
||||
@shellcheck -s bash yadm test/*.bash
|
||||
@shellcheck -s bash yadm bootstrap test/*.bash
|
||||
@cd test; \
|
||||
for bats_file in *bats; do \
|
||||
sed 's/^@test.*{/function test() {/' "$$bats_file" > "/tmp/$$bats_file.bash"; \
|
||||
|
||||
Reference in New Issue
Block a user