MCPcopy
hub / github.com/ampproject/amphtml / printNobuildHelp

Function printNobuildHelp

build-system/tasks/helpers.js:611–626  ·  view source on GitHub ↗

* Prints a message that could help speed up local development.

()

Source from the content-addressed store, hash-verified

609 * Prints a message that could help speed up local development.
610 */
611function printNobuildHelp() {
612 for (const task of NOBUILD_HELP_TASKS) {
613 if (argv._.includes(task)) {
614 log(
615 green('To skip building during future'),
616 cyan(task),
617 green('runs, use'),
618 cyan('--nobuild'),
619 green('with your'),
620 cyan(`amp ${task}`),
621 green('command.')
622 );
623 return;
624 }
625 }
626}
627
628/**
629 * @param {string=} covPath

Callers 2

distFunction · 0.85
buildFunction · 0.85

Calls 3

greenFunction · 0.85
cyanFunction · 0.85
logFunction · 0.50

Tested by

no test coverage detected