mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-12-01 16:51:16 +00:00
d753c2659f
Instead of checking out the default branch. Otherwise it's impossible to test local changes.
492 B
492 B
How to use this
Create the builder image
From inside the checked out syncthing-android repository, run:
docker build -t syncthing-android-builder:latest -f ./docker/Dockerfile .
Build the app
- From inside the checked out syncthing-android repository, run:
git submodule init; git submodule update
- Actual build:
docker run --rm -v /tmp/syncthing-android:/mnt syncthing-android-builder ./gradlew buildNative assembleDebug
- Retrieve APKs from ./app/build/outputs