-
Notifications
You must be signed in to change notification settings - Fork 184
/
Makefile
32 lines (23 loc) · 687 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
VIM_COLORTEMPLATE_VERSION = 2.2.3
all: colors style-check lint
colors: vim-colortemplate
nvim \
--clean \
--headless \
--cmd "set rtp^=vim-colortemplate" \
-c 'source scripts/generate_colors.lua' \
-c 'qall'
colors-check: colors
git diff --exit-code lua/nvim-web-devicons/icons-light.lua
vim-colortemplate:
mkdir -p vim-colortemplate
curl -L https://github.com/lifepillar/vim-colortemplate/archive/refs/tags/v$(VIM_COLORTEMPLATE_VERSION).tar.gz | tar zx --directory vim-colortemplate --strip-components=1
style-check:
stylua . --check
style-fix:
stylua .
lint:
luacheck lua scripts
clean:
rm -rf vim-colortemplate
.PHONY: all colors style-check style-fix lint