MCPcopy
hub / github.com/meteor/meteor / writeBuildJson

Method writeBuildJson

tools/cordova/project.js:193–214  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

191 }
192
193 writeBuildJson() {
194 if (files.exists(this.buildJsonPath)) {
195 return;
196 }
197
198 const iosCommonOptions = {
199 // See https://github.com/apache/cordova-ios/issues/407:
200 buildFlag: [
201 "-UseModernBuildSystem=0"
202 ]
203 };
204
205 files.writeFile(
206 this.buildJsonPath,
207 JSON.stringify({
208 ios: {
209 debug: iosCommonOptions,
210 release: iosCommonOptions,
211 }
212 }, null, 2) + "\n",
213 );
214 }
215
216 // Preparing
217

Callers 1

createIfNeededMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected