Update dotfiles/.local/bin/provision

This commit is contained in:
Brian Zalewski 2022-11-19 14:24:54 +00:00
parent 84b00ff0b9
commit a9d3c63eef

View file

@ -14,9 +14,17 @@ brew install go-task/tap/go-task
brew install jq brew install jq
brew install yq brew install yq
# Run dotfiles install scripts # Ensure dotfiles are present
chmod +x "$HOME/.local/bin/install-dotfiles" if [ ! -f "$HOME/.local/bin/install-dotfiles" ]; then
install-dotfiles bash <(curl -sSL https://gitlab.com/megabyte-labs/misc/dotfiles/-/raw/master/dotfiles/.local/bin/install-dotfiles)
else
chmod +x "$HOME/.local/bin/install-dotfiles"
install-dotfiles
fi
# Use run alias to invoke the `$HOME/.local/Taskfile.yml` # Use run alias to invoke the `$HOME/.local/Taskfile.yml`
run localhost:provision if [ -z "$1" ]; then
run localhost:provision
else
run "localhost:provision:$1"
fi