From 566bd01e373e5bcac602633ce0bfe20558408cbe Mon Sep 17 00:00:00 2001 From: "sigonasr2, Sig, Sigo" Date: Thu, 16 Mar 2023 20:32:54 +0000 Subject: [PATCH] Add emsdk environment sourcing to web building script (C++) Co-authored-by: sigonasr2 --- C++/scripts/md5 | 2 +- C++/scripts/web.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/C++/scripts/md5 b/C++/scripts/md5 index 03a9081..b69aebb 100644 --- a/C++/scripts/md5 +++ b/C++/scripts/md5 @@ -4,4 +4,4 @@ debug.sh:849488515cab075948653c15eec4177b - lines.sh:3b907786f7fc9204025993016c9080de - release.sh:0ab321c3fa2f1a1b2f03b1aec3bce816 - temp:d41d8cd98f00b204e9800998ecf8427e - -web.sh:ce7a991e69dd9745f057d06430e51a9e - +web.sh:4bbe9c5710a0ae4289468c3f7f340ff1 - diff --git a/C++/scripts/web.sh b/C++/scripts/web.sh index 905b0c5..893cf36 100755 --- a/C++/scripts/web.sh +++ b/C++/scripts/web.sh @@ -8,6 +8,7 @@ fi if [[ "$1" == "full" || "$2" == "full" ]]; then rm "pixelGameEngine_wasm.o" fi +source ../emsdk/emsdk_env.sh if [ ! -f "pixelGameEngine_wasm.o" ] then printf "Pixel Game Engine compile object missing. Compiling for the first time..."