moronepo 0.1.3 copy "moronepo: ^0.1.3" to clipboard
moronepo: ^0.1.3 copied to clipboard

A tool to simplify development in a dart multi-package repository.

moronepo #

pub package Build Status codecov

A tool to simplify development in a dart multi-package repository.

Currently, it supports following commands:

print command

run command

update-flutter-sdk command

Usage #

Activate moronepo:

pub global activate moronepo

or prepend each command with flutter if used:

flutter pub global activate moronepo

Now it should be possible to run moronepo:

moronepo [--filter <filter>] [--project <name>] [--working-directory <path>] <command>

where filter is a comma-separated list of filters hasTests,isFlutter,isRoot. Each filter can be negated by preceding it with a !, for example !isFlutter.

You can also follow how to set up a global command
to make it available as a regular shell command by appending PATH.

moronepo print

or creating an alias instead:

alias moronepo="flutter pub global run moronepo"

moronepo print
moronepo print

run command #

moronepo run <command>

For example:

moronepo run pub get

update-flutter-sdk command #

Specifying environment.flutter in pubspec.yaml:

name: project
environment:
  flutter: ">=1.10.0 <1.11.0"

and then running:

moronepo update-flutter-sdk

forces an update to the Flutter SDK to the latest version within those constraints.

3
likes
30
pub points
0%
popularity

Publisher

verified publishermeniga.com

A tool to simplify development in a dart multi-package repository.

Repository (GitHub)
View/report issues

License

Apache-2.0 (LICENSE)

Dependencies

args, equatable, flutter, glob, json_annotation, logging, meta, path, pub_semver, pubspec_parse, quiver

More

Packages that depend on moronepo