Skip to content

Commit

Permalink
fix srtool script
Browse files Browse the repository at this point in the history
  • Loading branch information
xlc committed May 9, 2024
1 parent dd7f6d2 commit eb96173
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/srtool-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ set -xe
RUSTC_VERSION=`curl -s https://raw.githubusercontent.com/paritytech/srtool/master/RUSTC_VERSION`
PACKAGE=$PACKAGE;
BUILD_OPTS=$BUILD_OPTS;
PROFILE=$PROFILE

docker run --rm -it -e PACKAGE=$PACKAGE -e BUILD_OPTS="$BUILD_OPTS" -v $PWD:/build -v $TMPDIR/cargo:/cargo-home paritytech/srtool:$RUSTC_VERSION $*
docker run --rm -it -e WASM_BUILD_STD=0 -e PROFILE=$PROFILE -e PACKAGE=$PACKAGE -e BUILD_OPTS="$BUILD_OPTS" -v $PWD:/build -v $TMPDIR/cargo:/cargo-home paritytech/srtool:$RUSTC_VERSION $*

0 comments on commit eb96173

Please sign in to comment.