mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 12:51:30 -05:00
Merge pull request #25956 from fredrb/alias-jake-help-command
add help alias to jake --tasks in Jakefile.js
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user