Skip to main content
Module

x/dunner/mod.ts

A flexible declarative task runner inspired by make/jake
Latest
import * as dunner from "https://deno.land/x/dunner@v0.1.0/mod.ts";

Classes

The main application class.

A custom error used to distinguish between intentional errors and unhandled errors due to bad logic.

Variables

The global configuration object.

Functions

Executes a given command. If the command returns a non-zero code, then ExecError is thrown.

Logs a message to stdout, abiding by the quiet setting.

Logs a message to stderr, abiding by the quiet setting.

Runs the task runner using the given arguments, or from Deno.args by default.

Executes a command in the current shell.

Will return the given input if emojis are enabled in the current environment, or an empty string if not.

Interfaces

The options for executing a command. This is just the standard Deno.RunOptions without the cmd property, since this is given in explicitly.

The result of the command.

Provides the current execution information.

The spec for the target config object.

Type Aliases

A batch of target configs.

The kind of matching to apply to the target name.