-
Notifications
You must be signed in to change notification settings - Fork 49
/
Copy pathjustfile
51 lines (37 loc) · 1.01 KB
/
justfile
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
init := "tests/minimal_init.lua"
default: update test health
update:
# Updates types.lua & README.md
python scripts/update.py
# https://pandoc.org/
# https://github.com/kdheepak/panvimdoc
../../open-source/panvimdoc/panvimdoc.sh \
--project-name render-markdown \
--input-file README.md \
--vim-version 0.11.0
test:
just busted "tests"
bench:
just generate
just busted "benches"
[private]
busted directory:
nvim --headless --noplugin -u {{init}} \
-c "PlenaryBustedDirectory {{directory}} { minimal_init = '{{init}}', sequential = true, keep_going = false }"
generate:
python scripts/generate.py
health:
nvim -c "checkhealth render-markdown" -- -
cat-log:
cat ~/.local/state/nvim/render-markdown.log
demo: heading table box latex callout
heading:
python demo/run.py --name "heading_code"
table:
python demo/run.py --name "list_table"
box:
python demo/run.py --name "box_dash_quote"
latex:
python demo/run.py --name "latex"
callout:
python demo/run.py --name "callout"