From 61f5fa481dc47d20175fa4c3e4934e09721c6333 Mon Sep 17 00:00:00 2001 From: frozar Date: Thu, 21 Mar 2019 11:36:01 +0100 Subject: [PATCH] [SCRIPT] Fix the build.sh script. * Add the execution write over build.sh script. * Apply the command dos2unix over build.sh script to be able to launch it. --- build.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) mode change 100644 => 100755 build.sh diff --git a/build.sh b/build.sh old mode 100644 new mode 100755 index 9476444..12da0e5 --- a/build.sh +++ b/build.sh @@ -1,6 +1,6 @@ -#!/usr/bin/env bash -cargo build --target wasm32-unknown-unknown -wasm-bindgen target/wasm32-unknown-unknown/debug/appname.wasm --no-modules --out-dir ./pkg --out-name package - -#cargo build --target wasm32-unknown-unknown --release +#!/usr/bin/env bash +cargo build --target wasm32-unknown-unknown +wasm-bindgen target/wasm32-unknown-unknown/debug/appname.wasm --no-modules --out-dir ./pkg --out-name package + +#cargo build --target wasm32-unknown-unknown --release #wasm-bindgen target/wasm32-unknown-unknown/release/appname.wasm --no-modules --out-dir ./pkg --out-name package \ No newline at end of file