mirror of
https://github.com/nvim-tree/nvim-web-devicons
synced 2024-09-16 13:44:06 +02:00
ci: use vim-colortemplate tarball rather than git clone (#347)
* ci: add vim-colortemplate to .gitignore * ci: download vim-colortemplate rather than clone
This commit is contained in:
parent
e034579da4
commit
5efb8bd068
2 changed files with 8 additions and 2 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,3 +1,3 @@
|
||||||
.lua
|
.lua
|
||||||
.luarocks
|
.luarocks
|
||||||
vim-colortemplate
|
/vim-colortemplate/
|
||||||
|
|
8
Makefile
8
Makefile
|
@ -1,3 +1,5 @@
|
||||||
|
VIM_COLORTEMPLATE_VERSION = 2.2.3
|
||||||
|
|
||||||
all: colors style-check lint
|
all: colors style-check lint
|
||||||
|
|
||||||
colors: vim-colortemplate
|
colors: vim-colortemplate
|
||||||
|
@ -12,7 +14,8 @@ colors-check: colors
|
||||||
git diff --exit-code lua/nvim-web-devicons/icons-light.lua
|
git diff --exit-code lua/nvim-web-devicons/icons-light.lua
|
||||||
|
|
||||||
vim-colortemplate:
|
vim-colortemplate:
|
||||||
git clone --depth 1 https://github.com/lifepillar/vim-colortemplate.git 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:
|
style-check:
|
||||||
stylua . --check
|
stylua . --check
|
||||||
|
@ -23,4 +26,7 @@ style-fix:
|
||||||
lint:
|
lint:
|
||||||
luacheck lua scripts
|
luacheck lua scripts
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -rf vim-colortemplate
|
||||||
|
|
||||||
.PHONY: all colors style-check style-fix lint
|
.PHONY: all colors style-check style-fix lint
|
||||||
|
|
Loading…
Reference in a new issue