Files
tlsn/pre-commit-check.sh
sinu.eth 0933d711d2 feat: harness (#703)
* 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
2025-06-06 13:34:32 -07:00

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