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`
|
|
|
|
# ```
|
|
|
|
#
|
2024-08-19 21:02:13 +00:00
|
|
|
cargo watch -s "clear && cargo doc --no-deps -p lasprs --lib && cargo docserve"
|
2023-11-25 13:58:20 +00:00
|
|
|
|
|
|
|
# Then open: ${browser} http://localhost:4000
|