mirror of
https://github.com/chenasraf/dart_script_runner.git
synced 2026-05-18 01:49:04 +00:00
feat: improve stdio pass through
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user