9 lines
321 B
Bash
Executable File
9 lines
321 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Format check + lints + unit/integration tests. Run before every commit.
|
|
# Set MEOW_TEST_REDIS=redis://127.0.0.1:6379/15 to include the Redis store test.
|
|
set -euo pipefail
|
|
cd "$(dirname "$0")/.."
|
|
cargo fmt --all -- --check
|
|
cargo clippy --workspace --all-targets -- -D warnings
|
|
cargo test --workspace
|