Skip to content

Commit

Permalink
Prepare flow script for iOS prebuilds (facebook#49334)
Browse files Browse the repository at this point in the history
Summary:

This diff adds a script in the `react-native/script/releases` folder that we will use as base to prepare prebuilds for iOS

The script can be invoked from the repository root with
```
node scripts/releases/prepare-ios-prebuilds.js
```

## Changelog:
[Internal] - Add scripts to prepare ios prebuilds

Reviewed By: cortinico

Differential Revision: D69461691
  • Loading branch information
cipolleschi authored and facebook-github-bot committed Feb 12, 2025
1 parent 403719c commit 16251ea
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions scripts/releases/prepare-ios-prebuilds.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
* @format
* @oncall react_native
*/

require('../babel-register').registerForScript();

function main() {
console.log('Starting iOS prebuilds preparation...');
}

if (require.main === module) {
// eslint-disable-next-line no-void
void main();
}

0 comments on commit 16251ea

Please sign in to comment.