From 6ef60fd1e0facadd284def86dee55ee803cf02a7 Mon Sep 17 00:00:00 2001 From: "J.A. de Jong - Redu-Sone B.V., ASCEE V.O.F" Date: Wed, 22 Nov 2023 15:01:19 +0100 Subject: [PATCH] Added watchdoc script for updating docs in real time --- tools/watchdoc.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 tools/watchdoc.sh diff --git a/tools/watchdoc.sh b/tools/watchdoc.sh new file mode 100755 index 0000000..baaa78f --- /dev/null +++ b/tools/watchdoc.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# +testargs="" +testargs=-- --nocapture +cargo watch -s "cargo rustdoc --lib && cargo test ${testargs} && http target/doc"