Add emsdk environment sourcing to web building script (C++)

Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
main
sigonasr2, Sig, Sigo 2 years ago
parent bf4bb0cf12
commit 566bd01e37
  1. 2
      C++/scripts/md5
  2. 1
      C++/scripts/web.sh

@ -4,4 +4,4 @@ debug.sh:849488515cab075948653c15eec4177b -
lines.sh:3b907786f7fc9204025993016c9080de -
release.sh:0ab321c3fa2f1a1b2f03b1aec3bce816 -
temp:d41d8cd98f00b204e9800998ecf8427e -
web.sh:ce7a991e69dd9745f057d06430e51a9e -
web.sh:4bbe9c5710a0ae4289468c3f7f340ff1 -

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

Loading…
Cancel
Save