Bump the github-actions group across 1 directory with 2 updates (#425)
Bumps the github-actions group with 2 updates in the / directory: actions/checkout and dart-lang/setup-dart.
Updates
actions/checkoutfrom 4.2.2 to 5.0.0Updates
dart-lang/setup-dartfrom 1.7.0 to 1.7.1
updated-dependencies:
- dependency-name: actions/checkout dependency-version: 5.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions
- dependency-name: dart-lang/setup-dart dependency-version: 1.7.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions …
Signed-off-by: dependabot[bot] support@github.com Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802032778号
Grinder consists of a library to define project tasks (e.g.
test,build,doc) and a command-line tool to run them.Getting Started
To start using
grinder, add it to your dev_dependencies.Defining Tasks
Tasks are defined entirely by Dart code allowing you to take advantage of the whole Dart ecosystem to write and debug them. Task definitions reside in a
tool/grind.dartscript. To create a simple grinder script, run:In general, grinder scripts look something like this:
Any task dependencies (see
@Dependsabove), are run before the dependent task.Grinder contains a variety of convenience APIs for common task definitions, such as
PubAppreferenced above. See the API Documentation for full details.Running Tasks
First install the
grindexecutable:then use it to run desired tasks:
or to run a default task (see
@DefaultTaskabove):or to display a list of available tasks and their dependencies:
You can also bypass installing
grindand instead usepub run grinder.Passing parameters to tasks
In order to pass parameters to tasks from the command-line, you query the
TaskArgsinstance for your task invocation. For example:grind build --release --mode=topazand:
would pass the flag
releaseand the optionmodeto thebuildtask.You can pass flags and options to multiple tasks. The following command-line would pass separate flags and options to two different tasks:
grind build --release generate-docs --header=smallDisclaimer
This is not an official Google product.
Publishing automation
For information about our publishing automation and release process, see https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.