- commit
- e3268e48cffd9ff7410fe96fdfbdf2e5623457d2
- parent
- 8ec44d1d0787e1e2db0b8ea977e02bfc9b0b363b
- author
- Dami <dami.etoile@gmail.com>
| M | .github/ | 1 | + |
| M | scripts/ | 9 | ++------- |
@@ -10,7 +10,7 @@ if [[ -f "$HOME/.cargo/env" ]]; then
1010 source "$HOME/.cargo/env"1111 fi1212 13-for command_name in cargo rustc node git; do13+for command_name in cargo rustc node git ffmpeg shellcheck; do1414 if ! command -v "$command_name" >/dev/null 2>&1; then1515 printf 'required command is missing: %s\n' "$command_name" >&21616 exit 1@@ -36,12 +36,7 @@ while IFS= read -r frontend_source; do
3636 done < <(find src -maxdepth 1 -type f \( -name '*.js' -o -name '*.mjs' \) -print | sort)3737 node --test src/*.test.mjs3838 39-if command -v shellcheck >/dev/null 2>&1; then40- find scripts -type f -name '*.sh' -exec shellcheck {} +41-else42- echo 'shellcheck is required for the demo preflight' >&243- exit 144-fi39+find scripts -type f -name '*.sh' -exec shellcheck {} +4540 while IFS= read -r script_test; do4641 "$script_test"4742 done < <(find scripts/tests -maxdepth 1 -type f -name '*.sh' -perm -u+x -print | sort)