mirror of
https://github.com/tlsnotary/tlsn.git
synced 2026-01-09 14:48:13 -05:00
* feat: harness * delete tests.rs build artifact * fix binary path * seconds -> milliseconds * update lock * add empty tests module * rustfmt * ToString -> Display * output tests module into build artifacts * clippy * rustfmt
20 lines
370 B
Bash
Executable File
20 lines
370 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# This script is used to run checks before committing changes to the repository.
|
|
# It is a good approximation of what CI will do.
|
|
|
|
# Fail if any command fails
|
|
set -e
|
|
|
|
# Check formatting
|
|
cargo +nightly fmt --all
|
|
|
|
# Check clippy
|
|
cargo clippy --all-features --all-targets -- -D warnings
|
|
|
|
# Build all targets
|
|
# cargo build --all-targets
|
|
|
|
# Run tests
|
|
# cargo test
|