From d858b9b06ffd75039dd205284874396f2a4b725a Mon Sep 17 00:00:00 2001 From: Jeeva Ramachandran Date: Mon, 6 Jan 2025 16:21:02 +0530 Subject: [PATCH] update build script --- docker/wasm-build.Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docker/wasm-build.Dockerfile b/docker/wasm-build.Dockerfile index 015a055e4fd7..faa2d211bd84 100644 --- a/docker/wasm-build.Dockerfile +++ b/docker/wasm-build.Dockerfile @@ -1,7 +1,6 @@ FROM rust:latest as builder -ARG RUN_ENV=sandbox -ARG EXTRA_FEATURES="" +ARG FEATURES="" ARG VERSION_FEATURE_SET="v1" RUN apt-get update \ @@ -19,7 +18,7 @@ ENV env=$env COPY . . RUN echo env RUN cargo install wasm-pack -RUN wasm-pack build --target web --out-dir /tmp/wasm --out-name euclid crates/euclid_wasm -- --features ${VERSION_FEATURE_SET},${RUN_ENV},${EXTRA_FEATURES} +RUN wasm-pack build --target web --out-dir /tmp/wasm --out-name euclid crates/euclid_wasm -- --features ${VERSION_FEATURE_SET},${FEATURES} FROM scratch