add requirements-info to README; add convenience Makefile
This commit is contained in:
parent
fc846169d9
commit
34503d3f82
2 changed files with 26 additions and 1 deletions
20
Makefile
Normal file
20
Makefile
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
|
||||||
|
|
||||||
|
build:
|
||||||
|
docker-compose run compile
|
||||||
|
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm docker-compose-build.log || true
|
||||||
|
docker-compose down --remove-orphans --rmi all
|
||||||
|
|
||||||
|
apk: apk/app.apk
|
||||||
|
true
|
||||||
|
|
||||||
|
apk/app.apk: docker-compose-build.log
|
||||||
|
docker-compose run compile
|
||||||
|
|
||||||
|
docker-compose-build.log: Dockerfile docker-compose.yml
|
||||||
|
docker-compose down --remove-orphans --rmi all
|
||||||
|
BUILDKIT_PROGRESS=plain docker-compose build --no-cache | tee docker-compose-build.log
|
||||||
|
|
|
@ -16,6 +16,12 @@ docker-compose run compile
|
||||||
|
|
||||||
this should result in the apk being build and be available at `./apk/app.apk`
|
this should result in the apk being build and be available at `./apk/app.apk`
|
||||||
|
|
||||||
|
## Dependencies / Requirementes
|
||||||
|
|
||||||
|
Ideally to work the system mus have `docker` and `docker-compose` (or some equivalend like `podman` etc.)
|
||||||
|
installed. Having GNU make installed would allow to use the contained Makefile, which however is not necessary
|
||||||
|
|
||||||
|
|
||||||
## Concepts and Ideals
|
## Concepts and Ideals
|
||||||
|
|
||||||
Many smart folks use [Android Studio](https://en.wikipedia.org/wiki/Android_Studio) IDE to build
|
Many smart folks use [Android Studio](https://en.wikipedia.org/wiki/Android_Studio) IDE to build
|
||||||
|
@ -47,4 +53,3 @@ docker-compose build --no-cache
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue