set cargo path

This commit is contained in:
benedettadavico
2025-09-16 12:26:35 +02:00
parent caeb13450b
commit 00aee6772e
+1 -1
View File
@@ -184,7 +184,7 @@ docker-check-contracts:
@docker run --rm --platform $(COSMWASM_OPTIMIZER_PLATFORM) \
-v $(CURDIR):/code --workdir /code \
--entrypoint /bin/sh \
$(COSMWASM_OPTIMIZER_IMAGE) -lc "cargo install cosmwasm-check && cosmwasm-check contracts/artifacts/*.wasm"
$(COSMWASM_OPTIMIZER_IMAGE) -lc '. "$$HOME/.cargo/env" && cargo install cosmwasm-check && cosmwasm-check contracts/artifacts/*.wasm'
wasm-opt-contracts:
@for WASM in $(WASM_CONTRACT_DIR)/*.wasm; do \