From 292ed96d2ac3bf2102bb326c0bd47a332fe58d64 Mon Sep 17 00:00:00 2001 From: problematicconsumer Date: Thu, 13 Jul 2023 17:30:16 +0330 Subject: [PATCH] Update readme --- README.md | 5 +++++ distribute_options.yaml | 8 +++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 790b9ad5..fc74a835 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,8 @@ - MinGW-w64 - Android SDK (with CMake and NDK) + This project uses [flutter_distributor](https://github.com/leanflutter/flutter_distributor) for packaging. + ```shell # fetch dependencies and build generated files $ make get gen @@ -25,6 +27,9 @@ # build apk for android $ make release-android + + # build windows executable + $ flutter_distributor package --platform windows --targets exe ``` ## Acknowledgements diff --git a/distribute_options.yaml b/distribute_options.yaml index cdf786ad..9ff44987 100644 --- a/distribute_options.yaml +++ b/distribute_options.yaml @@ -2,7 +2,13 @@ output: dist/ releases: - name: prod jobs: - - name: release-prod-windows + - name: release-windows-exe package: platform: windows target: exe + - name: release-android-bundle + package: + platform: android + target: apk + build_args: + target-platform: android-arm,android-arm64,android-x64 \ No newline at end of file