u.nvim/Makefile
Jonathan Apodaca 0ee6caa7ba
All checks were successful
NeoVim tests / plenary-tests (push) Successful in 14s
1-based indexing rewrite
2025-04-11 17:08:20 -06:00

17 lines
429 B
Makefile

PLENARY_DIR=~/.local/share/nvim/site/pack/test/opt/plenary.nvim
all: lint test
lint:
lua-language-server --check=lua/u/ --checklevel=Hint
lux check
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)