mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-24 08:16:29 +08:00
docs(widgets) begin adding support for building live examples
This commit is contained in:
Executable
+15
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
CURRENT_REF="$(git rev-parse HEAD)"
|
||||
rm -rf emscripten_builder
|
||||
git clone https://github.com/lvgl/lv_sim_emscripten.git emscripten_builder
|
||||
scripts/genexamplelist.sh > emscripten_builder/examplelist.c
|
||||
cd emscripten_builder
|
||||
git submodule update --init -- lvgl
|
||||
cd lvgl
|
||||
git checkout $CURRENT_REF
|
||||
cd ..
|
||||
git submodule update --init -- lv_drivers
|
||||
make -j$(nproc) CHOSEN_DEMO=lv_example_noop || exit 1
|
||||
cd ..
|
||||
cp -a emscripten_builder/build docs/_static/built_lv_examples
|
||||
Reference in New Issue
Block a user