mirror of
https://github.com/logos-co/eth-lez-atomic-swaps.git
synced 2026-08-27 18:01:10 +00:00
CI takes ~40 min end to end, so quick-to-catch issues (a stale-UI-text typo, a broken unit test) only surface after a full cycle. `make preflight` runs the fast local equivalents of the rust-checks CI job (cargo check/test, forge test, the anvil-backed integration tests) plus swap-ui-unit, every dependency-free node contract/unit test, and qmllint — no nix build, no real Basecamp launch. ~30s warm, a few minutes cold; fails on the first broken check and names it. `make preflight-full` adds a working-tree build+stage via basecamp-dev.sh --no-launch (the one CI job with no fast local form), with a documented TODO for wiring the actual UI-text smoke assertions against it. `make install-hooks` is a one-time opt-in that symlinks scripts/pre-push into the shared hooks dir to run `make preflight` before every push.