build:
cargo build --lib --release
test:
cargo test --lib --release
test-vv:
cargo test --lib -- --nocapture
build-doc:
cargo rustdoc --release --verbose -- --html-in-header src/katex.html
doc-live:
cargo watch --watch ./src -s 'cargo rustdoc --release --verbose -- --html-in-header src/katex.html'
# cargo watch --watch ./src -s 'cargo doc --no-deps --release'
serve-doc:
browser-sync start --port 3009 --directory --server target/doc --ss target/doc --watch target/doc --no-open
publish:
cargo publish --dry-run --allow-dirty