Skip to main content

Module targets

Module targets 

Source
Expand description

Target names, target expressions, and task selection.

A target expression is one target, or a union of targets joined with +, such as ci+check. It selects every task tagged with any of its targets, and a task that matches several of them is selected once.

Structs§

Selected
A task that a target expression selected.
TargetExpr
A parsed target expression: one or more distinct target names, in the order written.

Enums§

TargetExprError
Why a target expression is malformed.

Constants§

TARGET_NAME_RULE
The rule every target name follows, as error messages state it.

Functions§

is_valid_target
Whether name is a valid target name: one or more ASCII letters, digits, _, . and -.