Skip to content

Migrate off build_runner to standalone build_version and build_cli - #113

Merged
kevmoo merged 2 commits into
mainfrom
standalone-cli
Oct 17, 2026
Merged

kevmoo merged 2 commits into
mainfrom
standalone-cli

Conversation

@kevmoo

@kevmoo kevmoo commented Oct 17, 2026 •

Copy link
Copy Markdown
Owner

Drops build_runner and codegen dev_dependencies by generating version and CLI options with standalone dart run build_version@2.2.0 and dart run build_cli@2.3.1, shrinking pubspec.lock from 76 to 58 packages.

  • Deletes build.yaml since build_cli@2.3.1 emits // ignore_for_file: type=lint automatically.
  • Keeps 4.3.1-wip and CHANGELOG.md unchanged since removing dev_dependencies has no user-visible change.
  • Replaces package:build_verify in test/ensure_build_test.dart with --check invocations (@Tags(['presubmit-only'])).

- Drop `build_cli`, `build_runner`, `build_verify`, and `build_version` from `dev_dependencies` (shrinks `pubspec.lock` from 76 to 58 packages).
- Regenerate `lib/src/version.dart` and `lib/src/options.g.dart` via `dart run build_version@2.2.0` and `dart run build_cli@2.3.0`.
- Update `test/ensure_build_test.dart` to verify generated outputs with `--check` instead of `package:build_verify`.
@kevmoo
kevmoo merged commit d550833 into main Oct 17, 2026
9 checks passed
@kevmoo
kevmoo deleted the standalone-cli branch October 17, 2026 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant