Searched refs:newContents (Results 1 – 4 of 4) sorted by relevance
| /expo/packages/expo-build-properties/src/__tests__/ |
| H A D | fileContentsUtils-test.ts | 8 const newContents = appendContents(src, 'test appending contents', { constant 12 expect(newContents).toMatchInlineSnapshot(` 28 const newContents = appendContents(src, 'another contents', { constant 32 expect(newContents).toMatchInlineSnapshot(` 49 const newContents = appendContents(src, 'another contents', { constant 53 expect(newContents).toMatchInlineSnapshot(` 74 const newContents = purgeContents(src, { tag: 'test-tag', commentPrefix: '#' }); constant 75 expect(newContents).toMatchInlineSnapshot(` 88 const newContents = purgeContents(src, { tag: 'another-tag', commentPrefix: '#' }); constant 89 expect(newContents).toMatchInlineSnapshot(`
|
| /expo/packages/expo-build-properties/src/ |
| H A D | android.ts | 125 const newContents = updateAndroidProguardRules(contents, extraProguardRules, 'append'); 126 if (contents !== newContents) { 127 await fs.promises.writeFile(proguardRulesFile, newContents); 176 const newContents = updateAndroidProguardRules(contents, '', 'overwrite'); 177 if (contents !== newContents) { 178 await fs.promises.writeFile(proguardRulesFile, newContents); 202 let newContents = contents; 204 newContents = purgeContents(contents, options); 207 newContents = appendContents(newContents, newProguardRules, options); 209 return newContents;
|
| /expo/packages/expo-build-properties/build/ |
| H A D | android.js | 101 const newContents = updateAndroidProguardRules(contents, extraProguardRules, 'append'); constant 102 if (contents !== newContents) { 103 await fs_1.default.promises.writeFile(proguardRulesFile, newContents); 146 const newContents = updateAndroidProguardRules(contents, '', 'overwrite'); constant 147 if (contents !== newContents) { 148 await fs_1.default.promises.writeFile(proguardRulesFile, newContents); 167 let newContents = contents; 169 newContents = (0, fileContentsUtils_1.purgeContents)(contents, options); 172 … newContents = (0, fileContentsUtils_1.appendContents)(newContents, newProguardRules, options); 174 return newContents;
|
| /expo/packages/@expo/config-plugins/src/android/__tests__/ |
| H A D | Updates-test.ts | 149 const newContents = Updates.ensureBuildGradleContainsConfigurationScript('/app', contents); constant 150 expect(newContents).toMatchSnapshot(); 179 const newContents = Updates.ensureBuildGradleContainsConfigurationScript( constant 183 expect(newContents).toMatchSnapshot();
|