import * as drake from "https://deno.land/x/drake@v1.6.0/mod.ts";
Variables
v env | The Drake |
Functions
Write an error message to to | |
Write the | |
f desc | Set description of next registered task. |
Execute task action functions. First the non-async actions are executed synchronously then the async actions are exectuted asynchronously. Silently skip tasks that have no action function. | |
f glob | Return a sorted array of normalized file names matching the wildcard glob patterns.
Valid glob patterns are those supported by Deno's |
f log | Log a message to stdout. Do not log the message if the |
Create directory. | |
Quote string array values with double-quotes then join them with a separator. Double-quote characters are escaped with a backspace. The separator defaults to a space character. | |
Read the entire contents of a file synchronously to a UTF-8 string. | |
Delete files matching the wildcard glob patterns.
Example: | |
f run | Execute named tasks along with their prerequisite tasks (direct and
indirect). If no task names are specified then the command-line tasks are run.
If no command-line tasks were specified the default task (set in
|
f sh | Execute commands asynchronously in the command shell. |
Execute | |
f stat | Return |
f task | Create and register a task. Returns the task object. |
Find and replace in text file synchronously.
If the file contents is unchanged return | |
f vers | Returns the Drake version number string. |
Write text to a file synchronously.
If the file exists it will be overwritten.
Returns |
Interfaces
| |
|