moronepo 0.1.1 moronepo: ^0.1.1 copied to clipboard
A tool to simplify development in a dart multi-package repository.
moronepo #
A tool to simplify development in a dart multi-package repository.
Currently, it supports following commands:
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
:
pub global run 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
print command #
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.