Initial commit
This commit is contained in:
commit
f1ee73fbc8
12 files changed
+216
No files matched your search
Executable
+16
@@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
# Enable with: git config core.hooksPath hooks
|
||||
# The slow checks: doctests link a binary each, and the doc build.
|
||||
|
||||
set -e
|
||||
|
||||
echo "pre-push: cargo test"
|
||||
cargo test --workspace --all-features --quiet
|
||||
|
||||
echo "pre-push: cargo test --no-default-features"
|
||||
cargo test --workspace --no-default-features --quiet
|
||||
|
||||
echo "pre-push: cargo doc"
|
||||
RUSTDOCFLAGS="-D warnings" cargo doc --workspace --no-deps --all-features --quiet
|
||||
|
||||
echo "pre-push: ok"
|
||||
Reference in new issue
Block a user