-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
50 lines (36 loc) · 869 Bytes
/
Copy pathMakefile
File metadata and controls
50 lines (36 loc) · 869 Bytes
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
UNAME := $(shell uname -s)
foros:
$(MAKE) $(UNAME)
Darwin: all \
hosts \
zoom-go \
submake-iterm \
submake-textmate \
submake-vscode
Darwin-deps: submake-osx
Linux: all
Linux-deps:
@true
all: $(UNAME)-deps \
submodules
latest:
git checkout master
git pull origin master
$(MAKE)
symlink:
ls -1 **/*.symlink | grep symlink | grep -ve "^centos" | grep -ve "^osx" | grep -ve "^ubuntu" | cut -d: -f1 | cut -d"." -f1 | xargs -tI{} ln -s {}.symlink ~/.$(shell basename {})
submodules:
git submodule sync
git submodule update --init --recursive
zoom-go: go
which zoom || go get -u github.com/benbalter/zoom-go
go:
go version
submake-%:
make -C $(patsubst submake-%,%,$@)
hosts:
@./osx/install-hosts-file.sh
.PHONY: ghostty
ghostty:
mkdir -p $(HOME)/.config
[ -s "$(HOME)/.config/ghostty" ] || ln -s $(PWD)/ghostty $(HOME)/.config/ghostty