Skip to content

Commit

Permalink
Merge pull request #68 from restake/fix/update-go-builder-script
Browse files Browse the repository at this point in the history
Fix babylon build script
  • Loading branch information
karlmjogila authored Jan 7, 2025
2 parents 848bd87 + 89a06ac commit ba88909
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/babylon/build.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
#!/usr/bin/env bash
set -euo pipefail
set -x

cd "${DEPOT_PROJECT_NAME}"
mkdir bin

# Grab static libwasmvm
wasmvm_version="$(go list -json -m all | jq -cer 'select(.Path == "github.com/CosmWasm/wasmvm/v2") | .Replace.Version // .Version')"
wasmvm_version="$(go list -json -m all | jq -cr 'select(.Path == "github.com/CosmWasm/wasmvm/v2") | .Replace.Version // .Version')"
curl -JLO "https://github.com/CosmWasm/wasmvm/releases/download/${wasmvm_version}/libwasmvm_muslc.x86_64.a"
ln -s libwasmvm_muslc.x86_64.a libwasmvm.x86_64.a

Expand Down

0 comments on commit ba88909

Please sign in to comment.