Verified Commit d72a5aa1 authored by Sven-Hendrik Haase's avatar Sven-Hendrik Haase
Browse files

Add cleaner lint stage commands

parent 6f35c922
Pipeline #1831 passed with stages
in 29 minutes and 52 seconds
......@@ -11,14 +11,14 @@ shellcheck:
before_script:
- pacman -Syu --needed --noconfirm shellcheck
script:
- find . -iname "*.sh" -exec shellcheck {} +
- shellcheck **/*.sh
shfmt:
stage: lint
before_script:
- pacman -Syu --needed --noconfirm shfmt
script:
- find . -iname "*.sh" -exec shfmt -i 2 -ci -d {} +
- shfmt -i 2 -ci -d **/*.sh
build:
stage: build
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment