touch build.rs if payment-contracts don't exist

This commit is contained in:
Bryan Stitt 2023-07-05 21:10:56 -07:00
parent cc0ce1611a
commit 2418d1ab77

@ -70,6 +70,7 @@ RUN --mount=type=bind,target=.,rw \
--mount=type=cache,target=/app/target \
set -eux; \
\
[ -e "payment-contracts/src/contracts.rs" ] || touch payment-contracts/build.rs ; \
cargo --locked --verbose fetch
# build tests (done its in own FROM so that it can run in parallel)