xtask 0.1.0 copy "xtask: ^0.1.0" to clipboard
xtask: ^0.1.0 copied to clipboard

A task runner whose tasks are data. The graph lives in xtask.yaml; a job body is either an external process (argv, never a shell) or a verb the project implements in Dart.

example/README.md

A project using xtask #

Two files, and one of them is optional until a task needs Dart.

xtask.yaml is the whole task graph — four tasks, one gate set, one set of paths. xtask check runs the three members in the order they are written; the CI job runs the same command and names nothing else.

bin/xtask.dart exists only because one task has a do:. A verb is a function this project wrote, so no engine installed from pub.flutter-io.cn can contain it: the project hands it over, and that is the whole of the entry point.

xtask --list          # every task, with its description
xtask --dry-run check # what would run, resolved on this machine
xtask check           # run it

The rest — the keys, the exit codes, what --parallel costs — is in the package README.

0
likes
160
points
85
downloads

Documentation

API reference

Publisher

verified publisherpro100.dev

Weekly Downloads

A task runner whose tasks are data. The graph lives in xtask.yaml; a job body is either an external process (argv, never a shell) or a verb the project implements in Dart.

Repository (GitHub)
View/report issues

Topics

#task-runner #automation #ci #build

License

MIT (license)

Dependencies

glob, path, source_span, yaml

More

Packages that depend on xtask