diff --git a/CHANGELOG.md b/CHANGELOG.md index a53ea6a..2a2667f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.1.4 + +- upgrade dependencies + ## 0.1.3 - fix: don't color default log lines diff --git a/README.md b/README.md index 15ae7b8..f0798cc 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,20 @@ Usage: btool [...args] -V, --verbose Display debug output ``` +#### Example + +Here is an example for a simple script that pushes the apk to the device Download folder. + +```sh +#!/usr/bin/env sh +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 +``` + ## Contributing I am developing this package on my free time, so any support, whether code, issues, or just stars is diff --git a/pubspec.yaml b/pubspec.yaml index 8b74954..283a303 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: btool description: Generic build helper tools for Flutter/Dart such as manipulating version, package name or application ID -version: 0.1.3 +version: 0.1.4 homepage: 'https://github.com/chenasraf/btool' executables: @@ -10,10 +10,10 @@ environment: sdk: '>=2.18.0 <4.0.0' dependencies: - args: ^2.3.1 + args: ^2.4.2 colorize: ^3.0.0 - file: ^6.1.4 - path: ^1.8.2 + file: ^7.0.0 + path: ^1.8.3 dev_dependencies: build: