flutter_plugin_tools 0.0.14+1

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 54

Flutter Plugin Tools

Build Status pub package

Flutter Plugin Tools implements a CLI with various productivity tools for hosting multiple Flutter plugins in one github repository. It is mainly used by the flutter/plugins and flutter/flutterfire repositories. It was mainly written to facilitate testing on Travis for these repositories (see travis.yaml).

As an example, Flutter Plugin Tools allows you to:

  • Build all plugin example apps with one command
  • Run the tests of all plugins with one command
  • Format all Dart, Java, and Objective-C code in the repository
  • Define shards of the above tasks

Installation

In order to use the tools you need to enable them once by running the following command:

$ pub global activate flutter_plugin_tools

Requirements

To use all features of flutter_plugin_tools you'll need the following commands in your PATH:

  • flutter
  • git
  • pub (recommended: version from <path/to/flutter>/bin/cache/dart-sdk/bin)
  • clang-format version 5 (alternatively, you can provide the path via --clang-format=)

Usage

$ pub global run flutter_plugin_tools <command>
$ pub global run flutter_plugin_tools <command> --shardIndex 0 --shardCount 3

Run commands from the flutter/plugins directory. Replace <command> with help to print a list of available commands. The sharded example above divides the plugins into three shards and executes the tool on the first shard (index 0).

CHANGELOG

v0.0.14

  • Check for dependencies->flutter instead of top level flutter node.

v0.0.13

  • Differentiate between Flutter and non-Flutter (but potentially Flutter consumed) Dart packages.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  flutter_plugin_tools: ^0.0.14+1

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter packages get

Alternatively, your editor might support pub get or flutter packages get. Check the docs for your editor to learn more.

Version Uploaded Documentation Archive
0.0.14+1 Oct 19, 2018 Go to the documentation of flutter_plugin_tools 0.0.14+1 Download flutter_plugin_tools 0.0.14+1 archive
0.0.14 Oct 19, 2018 Go to the documentation of flutter_plugin_tools 0.0.14 Download flutter_plugin_tools 0.0.14 archive
0.0.13 Oct 18, 2018 Go to the documentation of flutter_plugin_tools 0.0.13 Download flutter_plugin_tools 0.0.13 archive
0.0.12 Jul 16, 2018 Go to the documentation of flutter_plugin_tools 0.0.12 Download flutter_plugin_tools 0.0.12 archive
0.0.11 Jul 16, 2018 Go to the documentation of flutter_plugin_tools 0.0.11 Download flutter_plugin_tools 0.0.11 archive
0.0.10+2 Jul 13, 2018 Go to the documentation of flutter_plugin_tools 0.0.10+2 Download flutter_plugin_tools 0.0.10+2 archive
0.0.10 Jun 16, 2018 Go to the documentation of flutter_plugin_tools 0.0.10 Download flutter_plugin_tools 0.0.10 archive
0.0.9 Jun 15, 2018 Go to the documentation of flutter_plugin_tools 0.0.9 Download flutter_plugin_tools 0.0.9 archive
0.0.8 May 1, 2018 Go to the documentation of flutter_plugin_tools 0.0.8 Download flutter_plugin_tools 0.0.8 archive
0.0.7 Apr 12, 2018 Go to the documentation of flutter_plugin_tools 0.0.7 Download flutter_plugin_tools 0.0.7 archive

All 17 versions...

Popularity:
Describes how popular the package is relative to other packages. [more]
15
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
80
Overall:
Weighted score of the above. [more]
54
Learn more about scoring.

We analyzed this package on Dec 5, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.1.0
  • pana: 0.12.7

Platforms

Detected platforms: Flutter, web, other

No platform restriction found in libraries.

Maintenance suggestions

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use flutter_plugin_tools.dart.

Package is pre-v0.1 release. (-10 points)

While there is nothing inherently wrong with versions of 0.0.*, it usually means that the author is still experimenting with the general direction of the API.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.8.0 <3.0.0
args ^1.4.3 1.5.1
async ^2.0.7 2.0.8
http ^0.11.3+17 0.11.3+17 0.12.0
path ^1.6.1 1.6.2
yaml ^2.1.15 2.1.15
Transitive dependencies
charcode 1.1.2
collection 1.14.11
http_parser 3.1.3
meta 1.1.6
source_span 1.4.1
string_scanner 1.0.4
typed_data 1.1.6