-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
38 lines (27 loc) · 949 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# define .env variables
ifneq (,$(wildcard ./.env))
include .env
export
endif
# include .env
# $(eval export $(shell sed -ne 's/ *#.*$$//; /./ s/=.*$$// p' .env))
.PHONY: all clean check install_brew install_brew_packages install_dotfiles create_zshenv
all: check_w_confirmation clean bootstrap
all_wout_brew: check_w_confirmation clean bootstrap_wout_brew
clean: check_w_confirmation remove
remove:
${DOTFILES_PATH}/run.sh uninstall_dotfiles
check_w_confirmation:
${DOTFILES_PATH}/run.sh check --confirmation
check:
${DOTFILES_PATH}/run.sh check
bootstrap: install_brew install_brew_packages install_dotfiles create_zshenv
bootstrap_wout_brew: install_dotfiles create_zshenv
install_brew:
${DOTFILES_PATH}/run.sh install_brew
install_brew_packages:
${DOTFILES_PATH}/run.sh install_brew_packages
install_dotfiles: create_zshenv
${DOTFILES_PATH}/run.sh install_dotfiles
create_zshenv:
${DOTFILES_PATH}/run.sh create_zshenv