Added watchdoc script for updating docs in real time

This commit is contained in:
Anne de Jong 2023-11-22 15:01:19 +01:00
parent 776dd95d1e
commit 6ef60fd1e0
1 changed files with 5 additions and 0 deletions

5
tools/watchdoc.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
#
testargs=""
testargs=-- --nocapture
cargo watch -s "cargo rustdoc --lib && cargo test ${testargs} && http target/doc"