-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
50 lines (41 loc) · 1.68 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
43
44
45
46
47
48
49
50
install:
bundle
bundle exec rake dot:setup
themer:
pnpm exec themer \
--colors themes/themer/oxocarbon.yaml \
--template @themerdev/iterm \
--template @themerdev/vim \
--template themer-tmux \
--template @themerdev/wallpaper-block-wave \
--template @themerdev/wallpaper-burst \
--template @themerdev/wallpaper-circuits \
--template @themerdev/wallpaper-dot-grid \
--template @themerdev/wallpaper-octagon \
--out themes/themer/output
base16:
cd themes/base16 && \
../../node_modules/.bin/base16-builder update
generate:
mkdir -p ./themes/base16/output/$(theme)/
cat ./themes/base16/$(theme).yaml | \
pnpm exec base16-builder \
--template ./themes/base16/sources/templates/iterm2/templates/default-256.mustache > ./themes/base16/output/$(theme)/$(theme).itermcolors
cat ./themes/base16/$(theme).yaml | \
pnpm exec base16-builder \
--template ./themes/base16/sources/templates/fzf/templates/default.mustache > ./themes/base16/output/$(theme)/fzf.theme
cat ./themes/base16/$(theme).yaml | \
pnpm exec base16-builder \
--template ./themes/base16/sources/templates/fzf/templates/fish.mustache > ./themes/base16/output/$(theme)/fzf.fish
cat ./themes/base16/$(theme).yaml | \
pnpm exec base16-builder \
--template ./themes/base16/sources/templates/neovim/templates/default.mustache > ./themes/base16/output/$(theme)/$(theme).lua
rm ~/.dotfiles/themes/vim/colors/$(theme).lua
ln -s ~/.dotfiles/themes/base16/output/$(theme)/$(theme).lua ~/.dotfiles/themes/vim/colors/
all:
rm -rf ./themes/base16/output/*
rm -rf ./themes/vim/colors/*.lua
make generate theme=oxocarbon-dark
make generate theme=twilight
make generate theme=synth-midnight-dark
make generate theme=onedark