From f0efd4b6c1e5e05fdb14e183f852c36665a1fb22 Mon Sep 17 00:00:00 2001 From: Gleb Koval Date: Sun, 7 Aug 2022 00:51:10 +0000 Subject: [PATCH] plugin changes --- tools/wasm-pack-plugin/Dockerfile | 2 +- tools/wasm-pack-plugin/plugin.sh | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/tools/wasm-pack-plugin/Dockerfile b/tools/wasm-pack-plugin/Dockerfile index 054508b..a78b6c2 100644 --- a/tools/wasm-pack-plugin/Dockerfile +++ b/tools/wasm-pack-plugin/Dockerfile @@ -13,4 +13,4 @@ RUN apk add --no-cache \ && rustup target add wasm32-unknown-unknown \ && chmod +x /bin/plugin.sh -ENTRYPOINT /bin/plugin.sh \ No newline at end of file +ENTRYPOINT ["/bin/sh", "/bin/plugin.sh"] diff --git a/tools/wasm-pack-plugin/plugin.sh b/tools/wasm-pack-plugin/plugin.sh index d5d875c..7e26396 100755 --- a/tools/wasm-pack-plugin/plugin.sh +++ b/tools/wasm-pack-plugin/plugin.sh @@ -7,6 +7,16 @@ # publish: username, token # build: +echo wasm-pack plugin +pwd +echo actions: ${PLUGIN_ACTIONS} +echo username: ${PLUGIN_USERNAME} +echo registry: ${PLUGIN_REGISTRY:-https://registry.npmjs.org/} +echo scope: ${PLUGIN_SCOPE} +echo folder: ${PLUGIN_FOLDER:-.} +echo build_profile: ${PLUGIN_BUILD_PROFILE:-release} +echo make: ${PLUGIN_MAKE} + set -eu cd ${PLUGIN_FOLDER:-.}