-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
42 lines (29 loc) · 1.11 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
# ISSUES:
# - https://github.com/anishathalye/dotbot/issues/282
.PHONY: update_dotbot setup install uninstall base desktop laptop vmguest vmguest-arch mac lint
install:
@./install $(ARGS)
update_dotbot:
@git submodule update --remote dotbot
uninstall: export DOTFILE_GROUPS = archlinux,base,desktop,dev,laptop,mac,vmguest,x11
uninstall:
@./uninstall.py
base: install
desktop: export DOTFILE_GROUPS = base,x11,desktop,archlinux
desktop: install
laptop: export DOTFILE_GROUPS = base,x11,laptop,archlinux,dev
laptop: install
server: export DOTFILE_GROUPS = base,archlinux
server: install
vmguest: export DOTFILE_GROUPS = base,vmguest
vmguest: install
vmguest-arch: export DOTFILE_GROUPS = base,x11,vmguest,archlinux
vmguest-arch: install
mac: export DOTFILE_GROUPS = base,mac,dev
mac: install
i3: export DOTFILE_GROUPS = i3
i3: install
# https://github.com/koalaman/shellcheck/wiki/Recursiveness
lint:
@yamllint .
@find . -type f \( -name '*.sh' -o -name '*.bash' -o -name '*.ksh' -o -name '*.bashrc' -o -name '*.bash_profile' -o -name '*.bash_login' -o -name '*.bash_logout' \) -not -path "./dotbot/*" | xargs shellcheck