2022-11-18 21:51:46 -08:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
# Install Homebrew
|
|
|
|
if ! type brew &> /dev/null; then
|
|
|
|
if type sudo &> /dev/null && sudo -n true; then
|
|
|
|
echo | /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
|
|
|
else
|
|
|
|
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
2022-11-19 02:14:39 -08:00
|
|
|
# Install Homebrew bundle and go-task
|
|
|
|
brew install go-task/tap/go-task
|
2022-11-19 05:36:28 -08:00
|
|
|
brew install jq
|
|
|
|
brew install yq
|
2022-11-18 21:51:46 -08:00
|
|
|
|
2022-11-19 05:08:32 -08:00
|
|
|
# Run dotfiles install scripts
|
2022-11-19 05:18:26 -08:00
|
|
|
chmod +x "$HOME/.local/bin/install-dotfiles"
|
2022-11-19 05:08:32 -08:00
|
|
|
install-dotfiles
|
|
|
|
|
|
|
|
# Use run alias to invoke the `$HOME/.local/Taskfile.yml`
|
2022-11-19 02:54:53 -08:00
|
|
|
run localhost:provision
|