-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJustfile
46 lines (32 loc) · 921 Bytes
/
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
test:
uv run pytest --disable-warnings -s
deno test -A --reload https://raw.githubusercontent.com/zph/runbook/main/ext/deno/runbook/mod.ts --parallel tests/cli_test.ts
test-watch:
watchexec -- just test
open NOTEBOOK:
uv run runbook edit {{NOTEBOOK}}
clear-binder-output:
jupyter nbconvert --clear-output --inplace ./runbook/data/*.ipynb
clear-output *FILES:
jupyter nbconvert --clear-output --inplace {{FILES}}
lint:
pre-commit run
lint-all:
pre-commit run --all-files
profile:
uv run python3 -m cProfile runbook/cli/__init__.py
release:
deno run -A npm:release-it
clean:
rm -rf ./dist
build:
uv build
benchmark:
hyperfine --export-markdown=docs/PERFORMANCE.md -- runbook
readme:
.config/templating.sh
docs:
cp -f README.md docs/
uvx --with sphinx-click --with myst_parser --with . --from sphinx sphinx-build -b html docs/ site
docs-release:
bash .hermit/bin/publish-docs