Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(astria-bridge-withdrawer): use correct file paths in build script (…
…#1198) ## Summary Corrected the file paths in the withdrawer build script. ## Background The wrong paths were being specified when emitting `cargo:rerun-if-changed`. This caused the build to always be out of date, meaning rebuilding would always trigger a recompile, even if no sources changed. It was visible by running `cargo b && cargo b -v` in the withdrawer folder, where the output would include: ```txt Dirty astria-bridge-withdrawer v0.1.0 (/home/fraser/Rust/astria/crates/astria-bridge-withdrawer): the file `crates/astria-bridge-withdrawer/ethereum/src/AstriaWithdrawer.sol` is missing Compiling astria-bridge-withdrawer v0.1.0 (/home/fraser/Rust/astria/crates/astria-bridge-withdrawer) ``` ## Changes - Corrected the file paths and added assertions that the specified files exist. - Added an extra instruction in the main README.md about initializing submodules. ## Testing Ran `cargo b && cargo b` to ensure rebuilding doesn't recompile.
- Loading branch information