mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-02-09 10:22:49 +00:00
10 lines
302 B
TypeScript
10 lines
302 B
TypeScript
import shipit = require("shipit-cli");
|
|
import utils = require("shipit-utils");
|
|
|
|
const originalShipit = utils.getShipit(shipit);
|
|
|
|
const task = () => shipit.local("sleep 10s");
|
|
|
|
utils.registerTask(originalShipit, "myTask", task);
|
|
utils.registerTask(originalShipit, "myTask", ["some", "other", "tasks"]);
|