Skip to content

Latest commit

 

History

History
58 lines (38 loc) · 1.31 KB

README.md

File metadata and controls

58 lines (38 loc) · 1.31 KB

tano

JSR Version JSR Score ci Built with the Deno Standard Library

Yet another task runner.

There is a very good article on the Deno blog with the title You Don't Need a Build Step. Yes, you don't need this task runner either, but it works (maybe) and it was fun to implement it.

Install

deno install --allow-run -RWE --unstable-kv -g -n tano jsr:@dx/tano/tano

Note:

Your tasks may need additional permissions.

Preparation

Create a TypeScript file with the name tanofile.ts and import the 'task' function and create your tasks.

import { needs, task } from 'jsr:@dx/tano';

task('pre-task', `echo 'These were ...'`);
task('default', needs('pre-task'), `echo '...two tasks.'`);

Using

Execute default task:

tano

Execute my-task:

tano --task my-task

...or shorthand:

tano my-task

Help

tano --help