mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-06-05 21:49:48 +02:00
add script to build fossil_hr_watchface by building submodules
This commit is contained in:
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/
|
Reference in New Issue
Block a user