MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / parseBuild

Method parseBuild

tools/mcbundle.js:102–113  ·  view source on GitHub ↗
(platform)

Source from the content-addressed store, hash-verified

100 this.environment.NAME = parts.name + parts.extension;
101 }
102 parseBuild(platform) {
103 let properties = platform.build;
104 if (properties) {
105 for (let name in properties) {
106 let value = properties[name];
107 if (typeof value == "string")
108 this.environment[name] = this.resolveVariable(value);
109 else
110 this.environment[name] = value;
111 }
112 }
113 }
114 parseManifest(path) {
115 const buffer = this.readFileString(path);
116 try {

Callers 1

runMethod · 0.45

Calls 1

resolveVariableMethod · 0.45

Tested by

no test coverage detected