MCPcopy Create free account
hub / github.com/Tencent/QMUI_Web / addTaskDescription

Method addTaskDescription

workflow/Mix.js:69–74  ·  view source on GitHub ↗

* 增加任务说明的接口。 * @param {String} name QMUI 工作流中任务的名字。 * @param {String} description 任务的简短介绍。 * @param {Object} options 任务的参数。 * @returns {undefined}

(name, description, options)

Source from the content-addressed store, hash-verified

67 * @returns {undefined}
68 */
69 addTaskDescription(name, description, options) {
70 this.tasks[name] = {
71 description: description,
72 options: options
73 };
74 }
75
76 /**
77 * 获取所有任务。

Callers 9

initProject.jsFile · 0.80
watch.jsFile · 0.80
start.jsFile · 0.80
include.jsFile · 0.80
list.jsFile · 0.80
version.jsFile · 0.80
clean.jsFile · 0.80
merge.jsFile · 0.80
sass.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected