Skip to content

Commit d4a1c37

Browse files
committed
chore: jakefile.js
1 parent 710d7d0 commit d4a1c37

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

jakefile.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
let { task, desc } = require("jake");
2+
3+
desc("This is the hello task.");
4+
task("hello", function () {
5+
console.log("hello world!");
6+
});
7+
8+
desc("This is the default task.");
9+
task("default", function () {
10+
console.log("This is the default task.");
11+
console.log("Jake will run this task if you run `jake` with no task specified.");
12+
});
13+
14+
desc("This is some other task. It depends on the default task");
15+
task("otherTask", ["default"], function () {
16+
console.log("Some other task");
17+
});

0 commit comments

Comments
 (0)