16 lines
374 B
Makefile
16 lines
374 B
Makefile
PLENARY_DIR=~/.local/share/nvim/site/pack/test/opt/plenary.nvim
|
|
|
|
all: lint test
|
|
|
|
lint:
|
|
selene .
|
|
|
|
fmt:
|
|
stylua .
|
|
|
|
test: $(PLENARY_DIR)
|
|
NVIM_APPNAME=noplugstest nvim -u NORC --headless -c 'set packpath+=~/.local/share/nvim/site' -c 'packadd plenary.nvim' -c "PlenaryBustedDirectory spec/"
|
|
|
|
$(PLENARY_DIR):
|
|
git clone https://github.com/nvim-lua/plenary.nvim/ $(PLENARY_DIR)
|