remove rm now that it compiled

This commit is contained in:
Bryan Stitt 2023-09-20 13:45:44 -07:00
parent ebd5bb215f
commit 8186361b68

View File

@ -86,12 +86,8 @@ COPY . .
# TODO: clean needed because of rust upgrade and jenkins caches :'(
RUN --mount=type=cache,target=/root/.cargo/git \
--mount=type=cache,target=/root/.cargo/registry \
--mount=type=cache,target=/app/target \
--mount=type=cache,target=/app/target_test \
set -eux -o pipefail; \
\
rm -rf /app/target/*; \
rm -rf /app/target_test/*; \
[ -e "$(pwd)/payment-contracts/src/contracts/mod.rs" ] || touch "$(pwd)/payment-contracts/build.rs"; \
cargo \
--locked \