2023-11-22 14:01:19 +00:00
|
|
|
#!/bin/bash
|
2023-11-25 13:58:20 +00:00
|
|
|
|
|
|
|
# Required is cargo-watch and http:
|
2023-11-22 14:01:19 +00:00
|
|
|
#
|
2023-11-25 13:58:20 +00:00
|
|
|
# ```bash
|
|
|
|
# $ cargo install cargo-watch cargo-docserver`
|
|
|
|
# ```
|
|
|
|
#
|
|
|
|
cargo watch -s "cargo rustdoc --lib && cargo test ${testargs} && cargo docserver"
|
|
|
|
|
|
|
|
# Then open: ${browser} http://localhost:4000
|