just automation

main
Andrew Coleman 2024-01-17 11:30:05 -05:00
parent e7ee35ac24
commit cd44c17014
1 changed files with 21 additions and 0 deletions

21
justfile Normal file
View File

@ -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