Skip to content

Commit f781d21

Browse files
committed
chore: add stylua format task
1 parent 8c35f5f commit f781d21

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Taskfile.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,15 @@ vars:
66
TEST_DIR: "tests/"
77

88
tasks:
9+
format:
10+
desc: format lua
11+
cmds:
12+
- stylua lua tests
913
test:
1014
desc: run tests
1115
cmds:
1216
- |
1317
nvim --headless \
1418
--noplugin \
1519
-u {{.TEST_INIT}} \
16-
-c "PlenaryBustedDirectory {{.TEST_DIR}} { minimal_init = '{{.TEST_INIT}}' }"
20+
-c "PlenaryBustedDirectory {{.TEST_DIR}} { minimal_init = '{{.TEST_INIT}}' }"

0 commit comments

Comments
 (0)