diff --git a/Makefile b/Makefile index f4ce6d3..868ebe9 100644 --- a/Makefile +++ b/Makefile @@ -4,61 +4,14 @@ BREW = $(BREWPATH)/brew # This does not work inside of a make command. bootstrap-homebrew: xcode-select --install || true - $(shell source "$(PWD)/scripts/install-brew.sh") + source "$(PWD)/scripts/install-brew.sh" chmod -R go-w $(brew --prefix) -bootstrap-brews: - "$(BREW)" bundle \ - --no-lock \ - --cleanup \ - --debug \ - --file "$(PWD)/macOS/.config/macOS/Brewfile" +bootstrap-minimal: bootstrap-homebrew + echo "Fix me" -bootstrap-casks: - "$(BREW)" bundle \ - --no-lock \ - --cleanup \ - --debug \ - --file "$(PWD)/macOS/.config/macOS/Casks.Brewfile" - -bootstrap-logitech: - @curl \ - --output ~/Downloads/logi-options.zip \ - https://download01.logi.com/web/ftp/pub/techsupport/options/options_installer.zip - -bootstrap-amazon-workdocs: - @curl \ - --output ~/Downloads/AmazonWorkDocsDrive.pkg \ - https://d3f2hupz96ggz3.cloudfront.net/mac/AmazonWorkDocsDrive.pkg - -bootstrap-app-store: - "$(BREW)" bundle \ - --no-lock \ - --cleanup \ - --debug \ - --file "$(PWD)/macOS/.config/macOS/AppStore.Brewfile" - -bootstrap-espanso: - @scripts/install-espanso-packages - -bootstrap-non-brews: bootstrap-logitech bootstrap-amazon-workdocs bootstrap-espanso - -# TODO: Remove stow in favor of customized scripts. -stow: - @stow --stow --verbose --target ~ */ - -# Order matters, need to install home-brew first then formula -bootstrap: bootstrap-homebrew bootstrap-brews bootstrap-casks stow bootstrap-non-brews bootstrap-app-store - open ~/Downloads - -bail: - echo "You should first run 'source scripts/install-brew.sh'" && exit 1 - -bootstrap-minimal: - test -f "$(BREW)" || $(MAKE) bail - $(shell "$(PWD)/install") - $(MAKE) bootstrap-brews - "$(BREW)" install --cask iterm2 +bootstrap: + echo "fix me" # make a local zsh configuration file, to extend # the normal .zshrc for configuration that is only