Skip to content

Commit b67ae22

Browse files
committed
build: add Justfile
1 parent 6899989 commit b67ae22

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Justfile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
set quiet := true
2+
3+
masonPath := "$HOME/.local/share/nvim/mason/bin/"
4+
5+
#───────────────────────────────────────────────────────────────────────────────
6+
7+
stylua:
8+
#!/usr/bin/env zsh
9+
{{ masonPath }}/stylua --check --output-format=summary . && return 0
10+
{{ masonPath }}/stylua .
11+
echo "\nFiles formatted."
12+
13+
lua_ls_check:
14+
{{ masonPath }}/lua-language-server --check .

0 commit comments

Comments
 (0)