forked from typstyle-rs/typstyle
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
25 lines (18 loc) · 753 Bytes
/
justfile
File metadata and controls
25 lines (18 loc) · 753 Bytes
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
plugin_install_path := "contrib/typstyle-embedded/assets/typstyle.wasm"
default:
@just --list
build-plugin:
cargo build -p typstyle-typlugin --release --target wasm32-unknown-unknown
cp target/wasm32-unknown-unknown/release/typstyle_typlugin.wasm {{plugin_install_path}}
generate-cli-help:
cargo run -p typstyle -- --help \
| sed '1,/^$/d; s/typstyle\.exe/typstyle/g' \
> "docs/assets/generated/cli-help.txt"
dev-docs: pre-docs
shiroa serve docs/pages --root . --mode static-html
build-docs: pre-docs
shiroa build docs/pages --root . --mode static-html
build-docs-gh: pre-docs
shiroa build docs/pages --root . --mode static-html --path-to-root /typstyle/
[private]
pre-docs: build-plugin generate-cli-help