From 0710a015bc4ddd69eef21ddd2543208aaac9673f Mon Sep 17 00:00:00 2001 From: Christoph Otter Date: Fri, 3 May 2024 12:51:03 +0200 Subject: [PATCH] Add testing script --- scripts/test-rust.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 scripts/test-rust.sh diff --git a/scripts/test-rust.sh b/scripts/test-rust.sh new file mode 100755 index 00000000..4c78c933 --- /dev/null +++ b/scripts/test-rust.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash +set -o errexit -o nounset -o pipefail + +( + cd docs-test-gen && \ + rm -rf ./tests && \ + cargo run && + cargo test +) \ No newline at end of file