mirror of
https://github.com/penpot/penpot.git
synced 2026-08-08 22:08:39 +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
24 lines
328 B
Bash
Executable File
24 lines
328 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Usage: ./watch [frontend|export]
|
|
|
|
_SCRIPT_DIR=$(dirname $0);
|
|
pushd $_SCRIPT_DIR;
|
|
|
|
. ./_build_env
|
|
|
|
set -x
|
|
build;
|
|
copy_target_artifacts;
|
|
|
|
pushd $_SCRIPT_DIR;
|
|
|
|
cargo watch \
|
|
--why \
|
|
-i "_tmp*" \
|
|
-x "build $CARGO_PARAMS" \
|
|
-s "./build $RENDER_TARGET" \
|
|
-s "echo 'DONE\n'";
|
|
|
|
popd
|