Configuration
taskend.config.ts

Structure of the config file

Note: Currently, the config file is TypeScript file, but in the future it may be changed to something not langauage-specific.

Defining graphs

All incremental tasks runner are based on the concept of graphs. A graph is a set of files that are related to each other. For example, a graph can be a set of TypeScript files that are related to each other by imports.

But you don't have to know the concept of graphs to use taskend. Although we expose the concept of graphs to the user to support advanced use cases, you can use taskend without knowing the concept of graphs. If you are not familar with the concept of graphs, you can just think of a graph something something that contains a set of files.

import { graph } from "taskend";
 
const srcFiles = graph({
    files: ["src/**/*.ts"],
    exclude: ["src/**/*.spec.ts"],
});