<commit_before>BREW_BIN:=/usr/local/bin
NPM_BIN:=/usr/local/bin

usage:
	@echo all - Setup dev env

all: \
	1password \
	alfred \
	chunkwm \
	daisydisk \
	docker \
	emacs \
	fantastical \
	font-firacode \
	fzf \
	google-chrome \
	gpg \
	hub \
	hyper \
	iterm2 \
	lftp \
	ncdu \
	node \
	nvm \
	prettier \
	prezto \
	ranger \
	slack \
	slate \
	spotify \
	shellcheck \
	tadam \
	the_silver_searcher \
	tmux \
	trymodule \
	vagrant \
	vim \
	xcode \
	yarn

1password: mas /Applications/1password.app
/Applications/1password.app:
	mas install 443987910

alfred: brew
	brew cask install alfred

ansible: brew ${BREW_BIN}/ansible
${BREW_BIN}/ansible:
	brew install ansible

brew: ${BREW_BIN}/brew
${BREW_BIN}/brew:
	curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install > /tmp/brew-installer.sh
	chmod +x /tmp/brew-installer.sh
	/tmp/brew-installer.sh
	brew install caskroom/cask/brew-cask
	brew tap gapple/services
	brew tap caskroom/fonts
	brew tap homebrew/versions

chunkwm: brew ~/.chunkwmrc ${BREW_BIN}/chunkwm
${BREW_BIN}/chunkwm:
	brew tap crisidev/homebrew-chunkwm
	brew install chunkwm
~/.chunkwmrc:
	ln -s ~/.dotfiles/.chunkwmrc $@

daisydisk: mas /Applications/DaisyDisk.app
/Applications/DaisyDisk.app:
	mas install 411643860

docker: brew /Applications/Docker.app
/Applications/Docker.app:<commit_msg>fix(setup): alfred 3<commit_after>BREW_BIN:=/usr/local/bin
NPM_BIN:=/usr/local/bin

usage:
	@echo all - Setup dev env

all: \
	1password \
	alfred \
	chunkwm \
	daisydisk \
	docker \
	fantastical \
	font-firacode \
	fzf \
	google-chrome \
	gpg \
	hub \
	iterm2 \
	khd \
	ncdu \
	node \
	nvm \
	prettier \
	prezto \
	ranger \
	slack \
	slate \
	spotify \
	shellcheck \
	tadam \
	the_silver_searcher \
	tmux \
	trymodule \
	vagrant \
	vim \
	xcode \
	yarn

1password: mas /Applications/1password.app
/Applications/1password.app:
	mas install 443987910

alfred: brew /Applications/Alfred\ 3.app
/Applications/Alfred\ 3.app:
	brew cask install alfred

ansible: brew ${BREW_BIN}/ansible
${BREW_BIN}/ansible:
	brew install ansible

brew: ${BREW_BIN}/brew
${BREW_BIN}/brew:
	curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install > /tmp/brew-installer.sh
	chmod +x /tmp/brew-installer.sh
	/tmp/brew-installer.sh
	brew install caskroom/cask/brew-cask
	brew tap gapple/services
	brew tap caskroom/fonts
	brew tap homebrew/versions

chunkwm: brew ~/.chunkwmrc ${BREW_BIN}/chunkwm
${BREW_BIN}/chunkwm:
	brew tap crisidev/homebrew-chunkwm
	brew install chunkwm
~/.chunkwmrc:
	ln -s ~/.dotfiles/.chunkwmrc $@

daisydisk: mas /Applications/DaisyDisk.app
/Applications/DaisyDisk.app:
	mas install 411643860

docker: brew /Applications/Docker.app
/Applications/Docker.app:
{'fraction_non_alphanumeric': 0.11729988933972704, 'fraction_numerical': 0.018074511250461084, 'mean_word_length': 3.367149758454106, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '27426', 'n_tokens_mistral': 1190, 'n_tokens_neox': 1105, 'n_words': 225}