From 0f952aef2f3a9b252d416ea5153079f8bd371d2c Mon Sep 17 00:00:00 2001 From: Gleb Koval Date: Sun, 7 Aug 2022 01:59:08 +0000 Subject: [PATCH] plugin fix and trigger all ci --- tools/wasm-pack-plugin/plugin.sh | 3 ++- wasm/o-x-rust/Cargo.toml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/wasm-pack-plugin/plugin.sh b/tools/wasm-pack-plugin/plugin.sh index dea70b3..d6cbc7d 100755 --- a/tools/wasm-pack-plugin/plugin.sh +++ b/tools/wasm-pack-plugin/plugin.sh @@ -28,12 +28,13 @@ if [[ "${PLUGIN_ACTIONS}" =~ '(^|,)build(,|$)' ]]; then wasm-pack build --${PLUGIN_BUILD_PROFILE:-release} --scope ${PLUGIN_SCOPE} fi - if [ "${PLUGIN_MAKE:-}" != ""]; then + if [ "${PLUGIN_MAKE:-}" != "" ]; then make ${PLUGIN_MAKE} fi fi if [[ "${PLUGIN_ACTIONS}" =~ '(^|,)publish(,|$)' ]]; then + cd pkg REGISTRY=${PLUGIN_REGISTRY:-https://registry.npmjs.org/} if [ "${PLUGIN_SCOPE:-}" = "" ]; then diff --git a/wasm/o-x-rust/Cargo.toml b/wasm/o-x-rust/Cargo.toml index 107af05..9163ee4 100644 --- a/wasm/o-x-rust/Cargo.toml +++ b/wasm/o-x-rust/Cargo.toml @@ -4,6 +4,7 @@ description = "Naughts and crosses WASM algorithms" repository = "https://git.koval.net/cyclane/game-algorithms/src/branch/main/wasm/o-x-rust" license = "GNU GPLv3" license-file = "LICENSE" +readme = "README.md" version = "0.0.1" edition = "2021"