From 28502e425bbcef6d52cbf4a09d6bc2612d96cfd1 Mon Sep 17 00:00:00 2001 From: Michael Housh Date: Mon, 6 Mar 2023 16:40:41 -0500 Subject: [PATCH] Wip --- Makefile | 57 +++++--------------------------------------------------- 1 file changed, 5 insertions(+), 52 deletions(-) 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