mirror of
https://github.com/tlsnotary/tlsn.git
synced 2026-01-09 14:48:13 -05:00
23 lines
423 B
Bash
Executable File
23 lines
423 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
|
|
|
|
# Run wasm tests
|
|
# ./crates/wasm-test-runner/run.sh
|