diff options
| author | ThePrimeAgain <theprimeagain@theprimeagain.com> | 2025-12-03 09:08:57 -0700 |
|---|---|---|
| committer | ThePrimeAgain <theprimeagain@theprimeagain.com> | 2025-12-03 09:08:57 -0700 |
| commit | 51b69a298234ac527cee052906efc1d88acc1f8c (patch) | |
| tree | 525598ed35aed1f1ad11b739cd8802e823d353b4 /Makefile | |
| parent | 219a226f1a3bf3cd071dec74c4044857074bfdad (diff) | |
| download | a4-51b69a298234ac527cee052906efc1d88acc1f8c.tar.xz a4-51b69a298234ac527cee052906efc1d88acc1f8c.zip | |
working through testing
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..da472c4 --- /dev/null +++ b/Makefile @@ -0,0 +1,18 @@ +lua_fmt: + echo "===> Formatting" + stylua lua/ --config-path=.stylua.toml + +lua_lint: + echo "===> Linting" + luacheck lua/ --globals vim + +lua_test: + echo "===> Testing" + nvim --headless --noplugin -u scripts/tests/minimal.vim \ + -c "PlenaryBustedDirectory lua/vim-with-me {minimal_init = 'scripts/tests/minimal.vim'}" + +lua_clean: + echo "===> Cleaning" + rm /tmp/lua_* + +pr-ready: lua_clean lua_fmt lua_lint lua_test |
