12 lines
245 B
Bash
Executable File
12 lines
245 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Required is cargo-watch and http:
|
|
#
|
|
# ```bash
|
|
# $ cargo install cargo-watch cargo-docserver`
|
|
# ```
|
|
#
|
|
cargo watch -s "cargo rustdoc --lib && cargo test ${testargs} && cargo docserver"
|
|
|
|
# Then open: ${browser} http://localhost:4000
|