moronepo

Build Status codecov

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

Currently, it supports:

Print packages

Run command

Usage

Add moronepo to dev_dependencies.

dev_dependencies:
  moronepo: any
pub run moronepo print

Run command

pub run moronepo run [-p project_name>] <command>

For example:

pub run moronepo run pub get

MVP

  • installable as a global command, e.g. pub global activate moronepo
  • what is a subproject (including root)? everything that has a pubspec.yaml file

Next iterations

  • flutter test --update-goldens ||

class Subproject { hasTestDirectory; isFlutter; }

  • filter projects by relative path

  • filter projects by type and features (e.g. has tests or not)

  • run multiple commands per project