Problem
The isolated-build loop in scripts/gate.sh is a hand-written crate list. A new
workspace member is not added automatically, so it silently escapes the check
that it builds standalone.
Found while adding axiolid-exact-compile-contract in #37: the gate passed
without ever building the new crate in isolation. I added it by hand, which is
exactly the step the next person will forget.
Done when
The list is derived from cargo metadata rather than maintained by hand, or a
check fails when a workspace member is missing from it.
Verification
Add a throwaway crate, confirm the gate fails until it is covered.
Problem
The isolated-build loop in
scripts/gate.shis a hand-written crate list. A newworkspace member is not added automatically, so it silently escapes the check
that it builds standalone.
Found while adding
axiolid-exact-compile-contractin #37: the gate passedwithout ever building the new crate in isolation. I added it by hand, which is
exactly the step the next person will forget.
Done when
The list is derived from
cargo metadatarather than maintained by hand, or acheck fails when a workspace member is missing from it.
Verification
Add a throwaway crate, confirm the gate fails until it is covered.