mirror of
https://github.com/penpot/penpot.git
synced 2026-08-08 13:58:35 +00:00
* ✨ Add headless wasm render backend to the exporter * ♻️ Move render-wasm bridge to common and split wasm builds * 🔧 Upload builtin font variants in the wasm exporter * ♻️ Move shared font and resources utils out of render_wasm * ⚡ Fetch only the exported roots in the wasm exporter * ⚡ Bound save_layer rects in the vector export path
18 lines
504 B
Bash
Executable File
18 lines
504 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -x
|
|
|
|
export SKIA_BINARIES_URL=${SKIA_BINARIES_URL:-"https://github.com/penpot/skia-binaries/releases/download/0.93.1/skia-binaries-319323662b1685a112f5-x86_64-unknown-linux-gnu-gl-svg-textlayout-binary-cache-webp.tar.gz"}
|
|
export CARGO_BUILD_TARGET=${CARGO_BUILD_TARGET:-"x86_64-unknown-linux-gnu"};
|
|
|
|
_SCRIPT_DIR=$(dirname $0);
|
|
pushd $_SCRIPT_DIR;
|
|
|
|
. ./_build_env frontend
|
|
|
|
cargo test --bin render_wasm -- --show-output
|
|
|
|
# Exit with the same status code as cargo test
|
|
exit $?
|
|
|
|
popd
|