mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-23 18:36:50 +01:00
add script to build fossil_hr_watchface by building submodules
This commit is contained in:
parent
0a87bb8360
commit
5af73c3676
13
build_fossil_hr_watchface.sh
Executable file
13
build_fossil_hr_watchface.sh
Executable file
@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
pushd jerryscript
|
||||||
|
python3 tools/build.py --jerry-cmdline-snapshot ON
|
||||||
|
popd
|
||||||
|
pushd fossil-hr-watchface
|
||||||
|
export jerry=../jerryscript/build/bin/jerry-snapshot
|
||||||
|
$jerry generate -f '' open_source_watchface.js -o openSourceWatchface.bin
|
||||||
|
$jerry generate -f '' widget_date.js -o widgetDate.bin
|
||||||
|
$jerry generate -f '' widget_weather.js -o widgetWeather.bin
|
||||||
|
$jerry generate -f '' widget_steps.js -o widgetSteps.bin
|
||||||
|
$jerry generate -f '' widget_hr.js -o widgetHR.bin
|
||||||
|
popd
|
||||||
|
mv fossil-hr-watchface/*.bin app/src/main/assets/fossil_hr/
|
Loading…
Reference in New Issue
Block a user