Skip to main content
Module

x/drake/lib/tasks.ts

Drake is a make-like task runner for Deno.
Go to Latest
import * as drake from "https://deno.land/x/drake@v1.6.0/lib/tasks.ts";

Classes

Drake task.

Task registry map.

Functions

Return true if name is a file task name. File task names are valid file paths.

Return true if name is a normal task name. Normal task names contain one or more alphanumeric, underscore and hyphen characters and cannot start with a hyphen.

The path name is normalized and, if necessary, prefixed with a period and path separator to distinguish it from non-file task name.

Return a list prerequisite task names. Globs are expanded and path names are normalized.

Normalize Drake task name. Throw an error if the name is blank or it contains wildcard characters.