felangel / mason

Tools which allow developers to create and consume reusable templates called bricks.

Home Page:https://docs.brickhub.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

feat: include `--set-exit-if-changed` for `mason bundle`

alestiago opened this issue · comments

Description

As a developer I would like to easily verify if the output of mason bundle has any changes. Similarly to how mason make or dart format have --set-exit-if-changed.

This is the current mason bundle help information:

Generates a bundle from a brick template.

Usage: mason bundle [arguments]
-h, --help          Print this usage information.
-o, --output-dir    Directory where to output the generated bundle.
                    (defaults to ".")
-t, --type          Type of bundle to generate.
                    [universal (default), dart]
-s, --source        The source used to find the brick to be bundled.
                    [git, path (default), hosted]
    --git-ref       Git branch or commit to be used. Only valid if source is set to "git".
    --git-path      Path of the brick in the git repository Only valid if source is set to "git".

Run "mason help" to see global options.

Requirements

  • Include --set-exit-if-changed in mason bundle
  • Include help information about --set-exit-if-changed in mason bundle -h

@felangel can I get assigned? 🙌