You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This has a few benefits:
* It allows us to dynamically choose task dependencies (so for example
the Linux standalone package can depend on the native executable
task when running on Linux).
* Similar tasks can be defined programmatically.
* Task names are decoupled from Dart function names, which in turn
allows us to avoid manually namespacing the package in favor of
encouraging it to be imported with a Dart namespace.
* It works around google/grinder.dart#337 and google/grinder.dart#338.
Declare tasks programatically rather than declaratively
This has a few benefits:
* It allows us to dynamically choose task dependencies (so for example
the Linux standalone package can depend on the native executable
task when running on Linux).
* Similar tasks can be defined programmatically.
* Task names are decoupled from Dart function names, which in turn
allows us to avoid manually namespacing the package in favor of
encouraging it to be imported with a Dart namespace.
* It works around google/grinder.dart#337 and google/grinder.dart#338.
The following fails with
Task `after` references invalid task method `before` as a dependency
:Assigning one task to another would otherwise be one way to work around #337.
The text was updated successfully, but these errors were encountered: