From e6838108af101603840a30723fb780a7d853c83e Mon Sep 17 00:00:00 2001 From: bitfl0wer Date: Wed, 10 Jul 2024 18:13:01 +0200 Subject: [PATCH] Add shorthand wasm build script --- build-wasm.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 build-wasm.sh diff --git a/build-wasm.sh b/build-wasm.sh new file mode 100755 index 0000000..85c55c3 --- /dev/null +++ b/build-wasm.sh @@ -0,0 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +#!/bin/sh + +cargo build --no-default-features --target=wasm32-unknown-unknown "$@" \ No newline at end of file