flutter: remove useless examples and add release APK (#4853)

beep
Mateusz Soszyński 2020-10-28 19:03:05 +01:00 committed by GitHub
parent 4c964834e9
commit 017e0ced2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 13 deletions

View File

@ -3,23 +3,11 @@
> Google's free, open source, and cross-platform mobile app SDK. > Google's free, open source, and cross-platform mobile app SDK.
> More information: <https://github.com/flutter/flutter/wiki/The-flutter-tool>. > More information: <https://github.com/flutter/flutter/wiki/The-flutter-tool>.
- Check the Flutter version:
`flutter --version`
- Display general help:
`flutter help`
- Display help about a specific command: - Display help about a specific command:
`flutter help {{command}}` `flutter help {{command}}`
- Execute a Flutter command: - Check if all external tools are correctly installed:
`flutter {{command}}`
- Show information about the installed tooling:
`flutter doctor` `flutter doctor`
@ -31,6 +19,14 @@
`flutter run -d all` `flutter run -d all`
- Download all packages specified in `pubspec.yaml`:
`flutter pub get`
- Run tests in a terminal from the root of the project: - Run tests in a terminal from the root of the project:
`flutter test {{test/example_test.dart}}` `flutter test {{test/example_test.dart}}`
- Build a release APK targeting most modern smartphones:
`flutter build apk --target-platform {{android-arm}} {{android-arm64}}`