feat: improve stdio pass through

This commit is contained in:
2023-10-07 03:27:26 +03:00
parent d9b7a04815
commit 43a2cda24a
6 changed files with 51 additions and 24 deletions

View File

@@ -10,3 +10,12 @@ script_runner:
cmd: flutter build ipa
- name: build:all
cmd: build:apk && build:ipa
- name: push:apk
suppress_header_output: true
cmd: |-
name=$(dart run btool get packageName)
version=$(dart run btool get packageVersion)
source="$(pwd)/build/app/outputs/flutter-apk/app-release.apk"
target="/sdcard/Download/$name-$version.apk"
echo "adb push $source $target"
adb push $source $target