mirror of
https://github.com/penpot/penpot.git
synced 2025-03-10 14:51:37 -05:00
🐛 Set a different cache directory for emcsdk
This commit is contained in:
parent
97072b112c
commit
e54f213b3f
1 changed files with 3 additions and 3 deletions
|
@ -1,18 +1,18 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
|
||||
if [ "$NODE_ENV" = "production" ]; then
|
||||
export _BUILD_MODE="release";
|
||||
else
|
||||
export _BUILD_MODE=${1:-debug};
|
||||
fi
|
||||
|
||||
export PATH="/usr/local/cargo/bin:$PATH";
|
||||
|
||||
export EMSDK_QUIET=1
|
||||
export EMCC_CFLAGS="--no-entry -s ERROR_ON_UNDEFINED_SYMBOLS=0 -s MAX_WEBGL_VERSION=2 -s MODULARIZE=1 -s EXPORT_NAME=createRustSkiaModule -s EXPORTED_RUNTIME_METHODS=GL -s ENVIRONMENT=web -s EXPORT_ES6=1 -sMODULARIZE"
|
||||
|
||||
source /usr/local/emsdk/emsdk_env.sh;
|
||||
source /usr/local/cargo/env
|
||||
|
||||
export EM_CACHE="/tmp/emsdk_cache";
|
||||
|
||||
set -x
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue