1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-31 05:40:03 -04:00

Release 0.16.0 - Context menus and rich text

This commit is contained in:
Emil Ernerfeldt
2021-12-29 12:07:05 +01:00
parent 77869c21ea
commit 0146c7e7fc
21 changed files with 115 additions and 84 deletions

View File

@@ -50,9 +50,12 @@ cargo build \
--no-default-features \
--features ${FEATURES}
# Get the output directory (in the workspace it is in another location)
TARGET=`cargo metadata --format-version=1 | jq --raw-output .target_directory`
echo "Generating JS bindings for wasm…"
TARGET_NAME="${CRATE_NAME}.wasm"
wasm-bindgen "target/wasm32-unknown-unknown/$BUILD/$TARGET_NAME" \
wasm-bindgen "${TARGET}/wasm32-unknown-unknown/$BUILD/$TARGET_NAME" \
--out-dir docs --no-modules --no-typescript
# to get wasm-strip: apt/brew/dnf install wabt