-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
42 lines (31 loc) · 1.29 KB
/
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
39
40
41
42
SHELL := /bin/bash -euo pipefail
macos:
@macos/init.sh
requirements:
@requirements/init.sh
software:
@sudo -v
@while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null &
@brew bundle
dots:
@dots/dots.sh
all: requirements software macos dots
software_list:
@brew bundle dump --force
software_cleanup:
@brew bundle cleanup --force
help:
@echo 'Makefile for dotfiles '
@echo ' '
@echo 'Usage: '
@echo ' make requirements install requirements '
@echo ' make software install software from Brewfile'
@echo ' make software_list update Brewfile '
@echo ' make software_cleanup cleanup unneeded software '
@echo ' make macos configure MacOS '
@echo ' make dots install dots '
@echo ' make all install and configure all '
%:
@:
.DEFAULT_GOAL := help
.PHONY: help macos requirements software dots software_list software_cleanup all