mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-14 06:12:34 +00:00
Wip
This commit is contained in:
57
Makefile
57
Makefile
@@ -4,61 +4,14 @@ BREW = $(BREWPATH)/brew
|
|||||||
# This does not work inside of a make command.
|
# This does not work inside of a make command.
|
||||||
bootstrap-homebrew:
|
bootstrap-homebrew:
|
||||||
xcode-select --install || true
|
xcode-select --install || true
|
||||||
$(shell source "$(PWD)/scripts/install-brew.sh")
|
source "$(PWD)/scripts/install-brew.sh"
|
||||||
chmod -R go-w $(brew --prefix)
|
chmod -R go-w $(brew --prefix)
|
||||||
|
|
||||||
bootstrap-brews:
|
bootstrap-minimal: bootstrap-homebrew
|
||||||
"$(BREW)" bundle \
|
echo "Fix me"
|
||||||
--no-lock \
|
|
||||||
--cleanup \
|
|
||||||
--debug \
|
|
||||||
--file "$(PWD)/macOS/.config/macOS/Brewfile"
|
|
||||||
|
|
||||||
bootstrap-casks:
|
bootstrap:
|
||||||
"$(BREW)" bundle \
|
echo "fix me"
|
||||||
--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
|
|
||||||
|
|
||||||
# make a local zsh configuration file, to extend
|
# make a local zsh configuration file, to extend
|
||||||
# the normal .zshrc for configuration that is only
|
# the normal .zshrc for configuration that is only
|
||||||
|
|||||||
Reference in New Issue
Block a user