mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +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"]);
|