u.nvim/Makefile
Jonathan Apodaca (aider) f48217a7fc
All checks were successful
NeoVim tests / plenary-tests (push) Successful in 11s
fix: lints
2025-04-30 15:38: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=Error
lx 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)