Release: NX9-Auth v0.3.0

This commit is contained in:
thakares committed 2026-07-22 19:36:22 +05:30
1 parent 6a04d7f793
commit d93f2cef95
92 files changed
+2418 -1143

No files matched your search

+5 -2
View File
@@ -10,9 +10,12 @@ WASM_OUT="$TARGET/wasm32-unknown-unknown/release/nx9-auth-ui.wasm"
DIST="$ROOT/ui/dist"
echo "==> Building nx9-auth-ui (wasm32-unknown-unknown, release)"
cargo build --manifest-path ui/Cargo.toml --target wasm32-unknown-unknown --release
cargo build --manifest-path ui/Cargo.toml --target-dir "$TARGET" --target wasm32-unknown-unknown --release
if [ ! -f "$WASM_OUT" ] && [ -f "$ROOT/ui/target/wasm32-unknown-unknown/release/nx9-auth-ui.wasm" ]; then
WASM_OUT="$ROOT/ui/target/wasm32-unknown-unknown/release/nx9-auth-ui.wasm"
fi
# Resolve wasm-bindgen CLI (must match the wasm-bindgen crate version)
WBG_VER="$(cargo tree -p nx9-auth-ui -i wasm-bindgen --depth 0 2>/dev/null | head -1 | sed -n 's/.*v\([0-9.]*\).*/\1/p')"
WBG_VER="${WBG_VER:-0.2.125}"