mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 14:49:06 -04:00
Update accesskit to 0.11 (#3012)
* Update accesskit to 0.11 * Add instructions on how to test the web viewer to CONTRIBUTING.md Also removed dependency on `jq` Closes https://github.com/emilk/egui/issues/2859
This commit is contained in:
@@ -85,7 +85,8 @@ echo "Building rust…"
|
||||
)
|
||||
|
||||
# Get the output directory (in the workspace it is in another location)
|
||||
TARGET=`cargo metadata --format-version=1 | jq --raw-output .target_directory`
|
||||
# TARGET=`cargo metadata --format-version=1 | jq --raw-output .target_directory`
|
||||
TARGET="target"
|
||||
|
||||
echo "Generating JS bindings for wasm…"
|
||||
TARGET_NAME="${CRATE_NAME}.wasm"
|
||||
|
||||
@@ -14,5 +14,5 @@ cargo install basic-http-server
|
||||
echo "starting server…"
|
||||
echo "serving at http://localhost:${PORT}"
|
||||
|
||||
(cd docs && basic-http-server --addr 127.0.0.1:${PORT} .)
|
||||
# (cd docs && python3 -m http.server ${PORT} --bind 127.0.0.1)
|
||||
(cd docs && basic-http-server --addr 0.0.0.0:${PORT} .)
|
||||
# (cd docs && python3 -m http.server ${PORT} --bind 0.0.0.0)
|
||||
|
||||
Reference in New Issue
Block a user