10 lines
266 B
Bash
Executable File
10 lines
266 B
Bash
Executable File
#!/bin/sh
|
|
# Everything the pre-commit hook is too slow to run. The doctests matter here
|
|
# because the readme is the crate's front page, so its examples are compiled.
|
|
#
|
|
# Install: git config core.hooksPath hooks
|
|
set -e
|
|
|
|
cargo test --quiet
|
|
cargo doc --quiet --no-deps
|