MCPcopy Index your code
hub / github.com/Moddable-OpenSource/moddable / echo

Method echo

tools/mcmanifest.js:56–67  ·  view source on GitHub ↗
(tool, ...strings)

Source from the content-addressed store, hash-verified

54 super(path)
55 }
56 echo(tool, ...strings) {
57 if (tool.windows)
58 this.write("\t@echo # ");
59 else
60 this.write("\t@echo '# ");
61 for (var string of strings)
62 this.write(string);
63 if (tool.windows)
64 this.write("\n");
65 else
66 this.write("'\n");
67 }
68 escapePathSpaces(path) {
69 return path.replace(/ /g, "\\ ")
70 }

Callers 12

generateDataRulesMethod · 0.95
generateBLERulesMethod · 0.95
generateModulesRulesMethod · 0.95
generateModulesRulesMethod · 0.95
generateObjectsRulesMethod · 0.95
generateObjectsRulesMethod · 0.95
generateObjectsRulesMethod · 0.80
generateObjectsRulesMethod · 0.80
generateObjectsRulesMethod · 0.80
generateObjectsRulesMethod · 0.80
generateObjectsRulesMethod · 0.80

Calls 1

writeMethod · 0.65

Tested by

no test coverage detected