Added comments

This commit is contained in:
Brian Zalewski 2023-08-18 14:37:43 -04:00 committed by GitHub
parent 66f00729a6
commit fc88131bba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,12 +10,15 @@
{{ includeTemplate "universal/profile-before" }} {{ includeTemplate "universal/profile-before" }}
{{ includeTemplate "universal/logg-before" }} {{ includeTemplate "universal/logg-before" }}
export VOLTA_HOME="${XDG_DATA_HOME:-$HOME/.local/share}/volta"
export PATH="$VOLTA_HOME/bin:$PATH"
### Ensure system is macOS ### Ensure system is macOS
if [ -d /Applications ] && [ -d /System ]; then if [ -d /Applications ] && [ -d /System ]; then
### Ensure environment variables are appropriately configured
export VOLTA_HOME="${XDG_DATA_HOME:-$HOME/.local/share}/volta"
export PATH="$VOLTA_HOME/bin:$PATH"
### Check for presence of Homebrew
if command -v brew > /dev/null; then if command -v brew > /dev/null; then
### Install base dependencies
logg 'Installing base dependencies for macOS using `brew bundle`' logg 'Installing base dependencies for macOS using `brew bundle`'
logg info 'Dependencies: age asdf jq node glow go go-task/tap/go-task gnupg gum m-cli progress volta yq m-cli yq zx' logg info 'Dependencies: age asdf jq node glow go go-task/tap/go-task gnupg gum m-cli progress volta yq m-cli yq zx'
logg info 'GNU compatibility dependencies: coreutils findutils' logg info 'GNU compatibility dependencies: coreutils findutils'