* idk how good this idea is * this could be working but i still cant figure out how to run it * ignore tags that mini.doc gens, but why? * chore(taskfile): force exiting after tests because i got infinit ci * chore(ci): add more nvim versions to run on * chore: update taskfile * feat: add docs generator * docs: its only begining * refactor: update docgen script * docs: write some more * docs(config): update * docs: update readme * language * hope it would work * what about that? * maybe this would work? * update md * upd * WHY DOESNT IT WORKING * idk by but 0.9.3 just fails the ci, so i deleted it from suite * again update, why does markdown not work in embeded html * maybe it can help? * upd * again update * kinda fix * fix: formatting * again some updating * some readme updating * fix, this shouldnt be in repo * i finnaly undertood how to fix this fking skill issue * fix(struct_tags): typo * refactor(docs): change the order in generated file * docs: install deps * refactor(scripts): rename doc-gen script * docs(impl): write docs * docs(dap): add doc * stylua . * docs(struct_tags): add doc * docs(gotests): add docs * docs(iferr): add docs * docs(comment): add doc * update CONTRIBUTING.md * docs(README): talk about `develop` branch * docs: update README.md
49 lines
954 B
YAML
49 lines
954 B
YAML
version: "3"
|
|
tasks:
|
|
format:
|
|
desc: formats all lua files in repo
|
|
cmds:
|
|
- stylua .
|
|
|
|
lint:
|
|
desc: runs all linters
|
|
cmds:
|
|
- task: selene
|
|
- task: stylua:check
|
|
|
|
selene:
|
|
desc: runs lua linter(selene)
|
|
cmds:
|
|
- selene .
|
|
|
|
stylua:check:
|
|
desc: runs stylua in check mode
|
|
cmds:
|
|
- stylua --check .
|
|
|
|
stylua:
|
|
desc: runs lua formatter
|
|
cmds:
|
|
- stylua .
|
|
|
|
test:
|
|
desc: runs all tests
|
|
aliases: [tests, spec]
|
|
cmds:
|
|
- |
|
|
nvim --headless \
|
|
-u ./scripts/minimal_init.lua \
|
|
-c "PlenaryBustedDirectory spec \
|
|
{minimal_init='./scripts/minimal_init.lua' \
|
|
,sequential=true}" \
|
|
-c ":qa!"
|
|
|
|
docgen:
|
|
desc: generate vimhelp
|
|
cmds:
|
|
- |
|
|
nvim --noplugin \
|
|
--headless \
|
|
-u "./scripts/minimal_init.lua" \
|
|
-c "luafile ./scripts/docgen.lua" \
|
|
-c ":qa!"
|