Post
When to use which mode: • Standalone (`dart run pkg@`): all your generators run in separate files (even build_version + build_cli together). Drop build_runner, build_verify, and build.yaml! • build_runner: you use another pkg:build builder or share one .g.dart file.
0 reposts0 likes
In CI, just run `dart run build_cli@2.3.1 --check` inside a normal Process.run test. We already migrated dhttpd and deleted its build.yaml file: github.com/kevmoo/dhttpd pub.dev/packages/bu... pub.dev/packages/bu...
pub.devbuild_cli | Dart packageParse command line arguments directly into an annotation class using the power of build_runner and source_gen.