Add automatic shellchecks with CI

Signed-off-by: Reed Wade <reedwade@misterbanal.net>
master
Reed Wade 4 years ago committed by Anjandev Momi
parent 55887d9afe
commit 8d5eda8af7
  1. 9
      .build.yml
  2. 1
      scripts/core/sxmo_xinit.sh

@ -0,0 +1,9 @@
image: alpine/edge
packages:
- shellcheck
sources:
- https://git.sr.ht/~mil/sxmo-utils
tasks:
- shellcheck: |
cd sxmo-utils
shellcheck scripts/*/*

@ -3,6 +3,7 @@
envvars() {
# shellcheck disable=SC1091
[ -f /etc/profile ] && . /etc/profile
# shellcheck source=/dev/null
[ -f "$HOME"/.profile ] && . "$HOME"/.profile
command -v "$TERM" || export TERM=st
command -v "$BROWSER" || export BROWSER=surf

Loading…
Cancel
Save