-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJustfile
More file actions
26 lines (21 loc) · 672 Bytes
/
Justfile
File metadata and controls
26 lines (21 loc) · 672 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
doc:
vimcats -t -f -c -a \
lua/time-machine/init.lua \
lua/time-machine/config.lua \
lua/time-machine/types.lua \
> doc/time-machine.nvim.txt
set shell := ["bash", "-cu"]
fmt-check:
stylua --config-path=.stylua.toml --check lua
fmt:
stylua --config-path=.stylua.toml lua
lint:
@if lua-language-server --configpath=.luarc.json --check=. --check_format=pretty --checklevel=Warning 2>&1 | grep -E 'Warning|Error'; then \
echo "LSP lint failed"; \
exit 1; \
else \
echo "LSP lint passed"; \
fi
test:
@echo "Running tests in headless Neovim using test_init.lua..."
nvim -l tests/minit.lua --minitest