mirror of
https://github.com/gbdev/rgbds.git
synced 2026-10-04 03:05:36 +00:00
Add CI job to check syntax of contrib scripts
Note that `zsh` is not installed in `ubuntu-slim` by default.
This commit is contained in:
1 parent
be4c1161bd
commit
c02b234bb1
2 files changed
+31
No files matched your search
Executable
+8
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env sh
|
||||
set -e
|
||||
|
||||
bash --version
|
||||
zsh --version
|
||||
|
||||
find contrib -type f \( -name '*.sh' -o -name '*.bash' \) -exec bash --norc -n {} \;
|
||||
find contrib/zsh_compl -type f -name '_rgb*' -exec zsh -n {} \;
|
||||
Reference in new issue
Block a user