From 6b3a2381bdb6b4135464d9f27c9c891bc096a330 Mon Sep 17 00:00:00 2001 From: js0ny Date: Mon, 24 Feb 2025 01:08:03 +0000 Subject: [PATCH] ci: Auto format --- Justfile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Justfile b/Justfile index fbf5d52..39bf3c6 100644 --- a/Justfile +++ b/Justfile @@ -2,15 +2,16 @@ set shell := ["fish", "-c"] set windows-shell := ["pwsh", "-c"] check_info: - shellcheck -x -s sh ./bootstrap/**/*.sh + shellcheck -x -s sh **/*.sh platforms/mac/yabairc shellcheck -x -s bash **/*.bash tools/bash/* scripts/*.{sh,zsh,bash} **/*.bashrc check: - shellcheck -x -s sh --severity=error ./bootstrap/**/*.sh + shellcheck -x -s sh --severity=error **/*.sh platforms/mac/yabairc 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 + shfmt -w -i 2 -ci -bn -p **/*.sh + shfmt -w -i 2 -ci -bn -ln bash **/*.bash platforms/mac/sketchybar/sketchybarrc + # Ignore syntax errors in zsh files + shfmt -w -i 2 -ci -bn -ln bash **/*.zsh tools/zsh/**/* **/zshrc || true pull: git pull github master git pull codeberg master