Skip to content

Commit

Permalink
⚡️ target /target instead of /code/target
Browse files Browse the repository at this point in the history
- This change is described in the v0.13.0 changelog of the cw optimizer
  • Loading branch information
NotJeremyLiu committed Aug 8, 2023
1 parent bbefae5 commit 8766387
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ update:
optimize:
if [[ $(shell uname -m) =~ "arm64" ]]; then \
docker run --rm -v "$(CURDIR)":/code \
--mount type=volume,source="$(notdir $(CURDIR))_cache",target=/code/target \
--mount type=volume,source="$(notdir $(CURDIR))_cache",target=/target \
--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
--platform linux/arm64 \
cosmwasm/workspace-optimizer-arm64:0.14.0; else \
docker run --rm -v "$(CURDIR)":/code \
--mount type=volume,source="$(notdir $(CURDIR))_cache",target=/code/target \
--mount type=volume,source="$(notdir $(CURDIR))_cache",target=/target \
--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
--platform linux/amd64 \
cosmwasm/workspace-optimizer:0.14.0; fi

0 comments on commit 8766387

Please sign in to comment.