mirror of
https://github.com/actix/actix-web.git
synced 2024-12-17 05:36:36 +00:00
21 lines
741 B
Makefile
21 lines
741 B
Makefile
_list:
|
|
@just --list
|
|
|
|
# Format workspace.
|
|
fmt:
|
|
cargo +nightly fmt
|
|
npx -y prettier --write $(fd --type=file --hidden --extension=md --extension=yml)
|
|
|
|
# Document crates in workspace.
|
|
doc:
|
|
RUSTDOCFLAGS="--cfg=docsrs" cargo +nightly doc --no-deps --workspace --features=rustls,openssl
|
|
|
|
# Document crates in workspace and watch for changes.
|
|
doc-watch:
|
|
RUSTDOCFLAGS="--cfg=docsrs" cargo +nightly doc --no-deps --workspace --features=rustls,openssl --open
|
|
cargo watch -- RUSTDOCFLAGS="--cfg=docsrs" cargo +nightly doc --no-deps --workspace --features=rustls,openssl
|
|
|
|
# Update READMEs from crate root documentation.
|
|
update-readmes: && fmt
|
|
cd ./actix-files && cargo rdme --force
|
|
cd ./actix-router && cargo rdme --force
|