Add a local testing script
authorChris Morgan <me@chrismorgan.info>
committerChris Morgan <me@chrismorgan.info>
test [new file with mode: 0644]

diff --git a/test b/test
new file mode 100644 (file)
index 0000000..ad55933
--- /dev/null
+++ b/test
@@ -0,0 +1,10 @@
+#!/bin/sh
+set -e
+export RUSTFLAGS="-D warnings"
+export RUSTDOCFLAGS="-D warnings"
+cargo +1.34.0 test
+cargo +1.34.0 test --release
+cargo clippy
+cargo test
+cargo test --release
+cargo doc