add help alias to jake --tasks in Jakefile.js
This commit is contained in:
parent
7473772291
commit
a9fca8f575
|
@ -51,7 +51,8 @@ const TaskNames = {
|
|||
configureInsiders: "configure-insiders",
|
||||
publishInsiders: "publish-insiders",
|
||||
configureNightly: "configure-nightly",
|
||||
publishNightly: "publish-nightly"
|
||||
publishNightly: "publish-nightly",
|
||||
help: "help"
|
||||
};
|
||||
|
||||
const Paths = {};
|
||||
|
@ -258,6 +259,11 @@ task(TaskNames.publishNightly, [TaskNames.coreBuild, TaskNames.configureNightly,
|
|||
exec(cmd, () => complete());
|
||||
}, { async: true });
|
||||
|
||||
task(TaskNames.help, function() {
|
||||
var cmd = "jake --tasks";
|
||||
exec(cmd, () => complete());
|
||||
})
|
||||
|
||||
task(TaskNames.configureInsiders, [TaskNames.scripts], function () {
|
||||
const cmd = `${host} ${Paths.scripts.configurePrerelease} insiders ${Paths.packageJson} ${Paths.versionFile}`;
|
||||
exec(cmd, () => complete());
|
||||
|
|
Loading…
Reference in a new issue