plugin fix and trigger all ci
ci/woodpecker/push/tools-wasm-pack-plugin Pipeline was successful Details
ci/woodpecker/push/wasm-o-x-rust Pipeline was successful Details

This commit is contained in:
Gleb Koval 2022-08-07 01:59:08 +00:00
parent 11ded7b3d5
commit 0f952aef2f
Signed by: cyclane
GPG Key ID: 15E168A8B332382C
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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"