1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-24 01:25:50 +01:00

add script to build fossil_hr_watchface by building submodules

This commit is contained in:
Andreas Shimokawa 2021-07-27 21:58:16 +02:00
parent 0a87bb8360
commit 5af73c3676

13
build_fossil_hr_watchface.sh Executable file
View 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/