ICE-NET/workspace/tools/check_all.sh
loki5512344 2e61688eb3
Some checks failed
rust-ci / checks (push) Has been cancelled
Initial import: ICE-NET research docs and Rust workspace (v0.4)
- Rust workspace: 7 library crates, icenetd CLI, icenet-city (Slint GUI)
- Sim: fix false Delivered after a route cut, derive traffic class from
  payload size, per-link airtime slots (link capacity, queueing)
- Docs: single docs/STATUS.md for all figures, remove v0.2/egui leftovers,
  drop unimplemented seed claims, uncheck store-and-forward
- License: LGPL-3.0-or-later (LICENSE, LICENSES/GPL-3.0.txt)
2026-11-13 12:28:48 +01:00

13 lines
424 B
Bash
Executable file

#!/bin/sh
# Validate authored files and Rust code. Use --full to include Slint GUI.
set -eu
cd "$(dirname "$0")/.."
python3 tools/check_layout.py
cargo fmt --all -- --check
if [ "${1:-}" = "--full" ]; then
cargo clippy --workspace --all-targets -- -D warnings
cargo test --workspace
else
cargo clippy -p icenet-routing -p icenet-sim --all-targets -- -D warnings
cargo test -p icenet-routing -p icenet-sim
fi