mirror of
https://github.com/penpot/penpot.git
synced 2025-08-03 17:18:21 +02:00
🔧 Use cargo env variable for target and allow to override it as well as SKIA_BINARIES_URL
This commit is contained in:
parent
16012a3881
commit
689cddfd0c
3 changed files with 8 additions and 6 deletions
|
@ -24,7 +24,7 @@ EMSDK_QUIET=1 . /usr/local/emsdk/emsdk_env.sh;
|
|||
|
||||
export EM_CACHE="/tmp/emsdk_cache";
|
||||
|
||||
_CARGO_PARAMS="--target=wasm32-unknown-emscripten";
|
||||
_CARGO_PARAMS="";
|
||||
|
||||
if [ "$_BUILD_MODE" = "release" ]; then
|
||||
_CARGO_PARAMS="--release $_CARGO_PARAMS"
|
||||
|
@ -40,4 +40,3 @@ fi
|
|||
export EMCC_CFLAGS;
|
||||
export _CARGO_PARAMS;
|
||||
|
||||
export SKIA_BINARIES_URL="https://github.com/penpot/skia-binaries/releases/download/0.81.0-3/skia-binaries-24dee32a277b6c7b5357-wasm32-unknown-emscripten-gl-svg-textlayout-binary-cache.tar.gz"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue