From cd44c17014a65ecf38043fa3a7e349e2241a6741 Mon Sep 17 00:00:00 2001 From: Andrew Coleman Date: Wed, 17 Jan 2024 11:30:05 -0500 Subject: [PATCH] just automation --- justfile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 justfile diff --git a/justfile b/justfile new file mode 100644 index 0000000..89fbdc6 --- /dev/null +++ b/justfile @@ -0,0 +1,21 @@ +_default: + @just --list + +# performs steps for mac +mac: + ./install-cli-tools.sh + ./setup-shell-config.sh + ./install-mac-apps.sh + +# performs steps for linux +linux: + ./install-cli-tools.sh + ./setup-shell-config.sh + +# checks all shell scripts for errors +shellcheck: + shellcheck *.sh + +# formats all shell scripts consistently +shfmt: + shfmt -i 2 -w -s *.sh