default: examples readme schema test
[no-exit-message]
docs:
RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --all-features --workspace
[no-exit-message]
examples:
cargo run --features=cli examples/*.toml examples/templates/sophie-no-yes.toml
[no-exit-message]
readme:
#!/usr/bin/env bash
if git diff --quiet -- README.md; then
cargo doc2readme --expand-macros
else
cargo doc2readme --expand-macros --check
fi
[no-exit-message]
schema:
cargo run --bin maimai-schema --features=schemars > schema.json
[no-exit-message]
test:
cargo test --all-features