refractor(bootstrap): Format with shfmt

This commit is contained in:
js0ny 2025-02-24 00:42:55 +00:00
parent f015467b1b
commit 0ce74497cd
21 changed files with 271 additions and 377 deletions

View file

@ -1,6 +1,16 @@
set shell := ["fish", "-c"]
set windows-shell := ["pwsh", "-c"]
check_info:
shellcheck -x -s sh ./bootstrap/**/*.sh
shellcheck -x -s bash **/*.bash tools/bash/* scripts/*.{sh,zsh,bash} **/*.bashrc
check:
shellcheck -x -s sh --severity=error ./bootstrap/**/*.sh
shellcheck -x -s bash --severity=error **/*.bash tools/bash/* **/*.bashrc
format:
# shfmt -w -d -i 2 -ci -bn **/*.sh tools/bash/* scripts/*.{sh,bash,zsh} **/*.bashrc
shfmt -w -d -i 2 -ci -bn -p ./bootstrap/**/*.sh
shfmt -w -d -i 2 -ci -bn -ln bash ./bootstrap/**/*.bash
pull:
git pull github master
git pull codeberg master