-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
58 lines (46 loc) · 979 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
list-pkgs:
comm -23 <(pacman -Qqen | sort) <(sort pkglist-base.txt) > pkglist.txt
pacman -Qmq > pkglist-aur.txt
base-pkgs:
comm -23 <(pacman -Qqen | sort) <(sort pkglist.txt) > tmp.txt && \
mv tmp.txt pkglist-base.txt
fresh:
chmod +x ./fresh.sh ./install.sh ./config.sh
./fresh.sh
install:
chmod +x ./install.sh
./install.sh
cfg:
chmod +x ./config.sh
./config.sh
osx-list-pkgs:
brew bundle dump --file=Brewfile --force
osx-fresh:
chmod +x ./osx_fresh.sh ./osx_install.sh ./osx_config.sh
./osx_fresh.sh
osx-install:
chmod +x ./osx_install.sh
./osx_install.sh
osx-cfg:
chmod +x ./osx_config.sh
./osx_config.sh
ssh:
chmod +x ./ssh.sh
./ssh.sh
GOINSTALL := GOEXPERIMENT=loopvar GO111MODULE=on go install -ldflags="-s -w" -v
PKG := github.com/vbphung/dotfiles/me
install-me:
cd $(PWD)/me && \
$(GOINSTALL) $(PKG)
.PHONY: \
list-pkgs \
base-pkgs \
fresh \
install \
cfg \
osx-list-pkgs \
osx-fresh \
osx-install \
osx-cfg \
ssh \
install-me