Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.
/ flutter_packager Public archive

A complete tool for packaging your Flutter apps.

License

Notifications You must be signed in to change notification settings

kjxbyz/flutter_packager

Repository files navigation

flutter_packager

pub version License: MIT

A complete tool for packaging your Flutter apps.

Getting Started 🚀

If the CLI application is available on pub, activate globally via:

dart pub global activate flutter_packager

Or locally via:

dart pub global activate --source=path <path to this package>

Usage

# Sample command
$ main sample

# Sample command option
$ main sample --cyan

# Show CLI version
$ main --version

# Show usage help
$ main --help

Running Tests with coverage 🧪

To run all unit tests use the following command:

dart pub global activate coverage 1.2.0
dart test --coverage=coverage
dart pub global run coverage:format_coverage --lcov --in=coverage --out=coverage/lcov.info

To view the generated coverage report you can use lcov .

# Generate Coverage Report
$ genhtml coverage/lcov.info -o coverage/

# Open Coverage Report
$ open coverage/index.html

Releases

No releases published

Packages

No packages published