mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 00:33:00 +00:00
refractor(bootstrap): Format with shfmt
This commit is contained in:
parent
f015467b1b
commit
0ce74497cd
21 changed files with 271 additions and 377 deletions
10
Justfile
10
Justfile
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue