gitsigns.nvim/Makefile

27 lines
507 B
Makefile
Raw Normal View History

2020-10-22 16:51:41 +00:00
2020-12-14 23:12:08 +00:00
lint:
2020-10-22 16:51:41 +00:00
luacheck lua
PJ_ROOT=$(PWD)
BUSTED_ARGS = \
--lpath=$(PJ_ROOT)/lua/?.lua \
--lpath=$(PJ_ROOT)/plenary.nvim/lua/?.lua
TEST_FILE = $(PJ_ROOT)/test/gitsigns_spec.lua
2020-12-02 23:08:28 +00:00
neovim:
git clone --depth 1 https://github.com/neovim/neovim
make -C $@
plenary.nvim:
git clone --depth 1 https://github.com/nvim-lua/plenary.nvim
.PHONY: test
2020-12-02 23:08:28 +00:00
test: neovim plenary.nvim
@git reset test/dummy.txt > /dev/null
make -C neovim functionaltest \
BUSTED_ARGS="$(BUSTED_ARGS)" \
TEST_FILE="$(TEST_FILE)"