14 lines
499 B
Bash
Executable File
14 lines
499 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
set -o pipefail
|
|
|
|
projectPath=$(cd "$(dirname "${0}")" && cd ../ && pwd)
|
|
|
|
docker run --rm -v "$projectPath":/code \
|
|
--mount type=volume,source="$(basename "$projectPath")_cache",target=/target \
|
|
--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
|
|
cosmwasm/rust-optimizer:0.17.0
|
|
# if there are new integrations with custom protobuf paths, we need to re-enable our custom optimizer
|
|
# ghcr.io/astroport-fi/rust-optimizer:v0.15.1-astroport
|