react-native/scripts
Héctor Ramos 31bedd9815 Add hermes/create-tarball.js script (#34875)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/34875

Create common script for generating a Hermes tarball after Hermes is built from source.

Use after building Hermes from source to create a tarball of the resulting build artifacts. The path to the tarball can be passed to CocoaPods via a `HERMES_ENGINE_TARBALL_PATH` envvar in order to use these pre-built Hermes artifacts when installing the `hermes-engine` pod with `pod install`.

Use in Circle CI when creating a Hermes tarball for caching and for use in stable React Native releases.

Usage:

```
pod install

# When Hermes is built from source via CocoaPods, the build artifacts will be located in the Pods directory for hermes-engine

node ./scripts/hermes/create-tarball.js \
  --inputDir ./sdks/hermes \
  --buildType Debug \
  --releaseVersion 1000.0.0 \
  --outputDir .
```

Changelog: [Internal]

Reviewed By: cipolleschi

Differential Revision: D40124378

fbshipit-source-id: f9712e87526ccc737afac4599b0ab0a7bb3f3956
2022-10-07 10:21:25 -07:00
..
__tests__ Add hermes/create-tarball.js script (#34875) 2022-10-07 10:21:25 -07:00
circleci Fix missing renames from bots to react-native-bots (#34713) 2022-09-16 12:41:06 -07:00
cocoapods fix(ios): add xcode 14 workaround (turn off signing resource bundles) for pods (#34826) 2022-10-07 02:29:59 -07:00
codegen Fix forward: Filtering platform in codegen (#34897) 2022-10-07 06:30:28 -07:00
hermes Add hermes/create-tarball.js script (#34875) 2022-10-07 10:21:25 -07:00
react_native_pods_utils infra(e2e): rework local E2E script (#34513) 2022-10-04 04:56:44 -07:00
versiontemplates
xcode
.npmignore Move TypeScript declarations into react-native (#34614) 2022-09-19 12:26:00 -07:00
.packager.env
.tests.env
android-e2e-test.js
android-setup.sh RN: Make retry3 Portable in CI Scripts 2022-09-28 10:57:07 -07:00
bump-oss-version.js Build the React Native NPM package when git is not available (#34694) 2022-09-16 02:58:36 -07:00
compose-source-maps.js
download-kotlin-compiler-with-buck.sh
find-node-for-xcode.sh
generate-api-docs.js
generate-codegen-artifacts.js infra(e2e): rework local E2E script (#34513) 2022-10-04 04:56:44 -07:00
generate-provider-cli.js
generate-specs-cli.js
ios-configure-glog.sh
launchPackager.bat
launchPackager.command
lint-java.js
native_modules.rb
node-binary.sh
objc-test.sh
packager-reporter.js
packager.sh
prepare-package-for-release.js
process-podspecs.sh
publish-npm.js infra(e2e): rework local E2E script (#34513) 2022-10-04 04:56:44 -07:00
react_native_pods.rb fix(ios): add xcode 14 workaround (turn off signing resource bundles) for pods (#34826) 2022-10-07 02:29:59 -07:00
react-native-xcode.sh Fix HERMES_ENABLED check in scripts/react-native-xcode.sh (#34675) 2022-09-21 03:40:44 -07:00
release-utils.js chore: re-add fixes from Kudo's PR 34846 (#34861) 2022-10-04 09:06:01 -07:00
retry3 RN: Make retry3 Portable in CI Scripts 2022-09-28 10:57:07 -07:00
run_ruby_tests.sh
run-android-ci-instrumentation-tests.js
run-android-emulator.sh
run-android-local-integration-tests.sh
run-android-local-unit-tests.sh
run-ci-e2e-tests.js Use verdaccio for the template e2e test (#34577) 2022-09-22 05:02:37 -07:00
run-ci-javascript-tests.js
run-instrumentation-tests-via-adb-shell.sh
scm-utils.js Do not depend on an ENV variable when publishing and setting the RN version (#34746) 2022-09-22 07:34:50 -07:00
set-rn-engine.js
set-rn-template-version.js
set-rn-version.js Do not depend on an ENV variable when publishing and setting the RN version (#34746) 2022-09-22 07:34:50 -07:00
setup-verdaccio.js Use verdaccio for the template e2e test (#34577) 2022-09-22 05:02:37 -07:00
sync-css-layout.sh
test-e2e-local-clean.js infra(e2e): rework local E2E script (#34513) 2022-10-04 04:56:44 -07:00
test-e2e-local.js infra(e2e): fix enabling new arch for RNTester iOS in the E2E script (#34882) 2022-10-07 06:24:27 -07:00
test-manual-e2e.sh
testing-utils.js infra(e2e): rework local E2E script (#34513) 2022-10-04 04:56:44 -07:00
try-n-times.js
update_podfile_lock.sh
update-ruby.sh Build the React Native NPM package when git is not available (#34694) 2022-09-16 02:58:36 -07:00
validate-android-device-env.sh
validate-android-sdk.sh
validate-android-test-env.sh
validate-ios-test-env.sh
version-utils.js Build the React Native NPM package when git is not available (#34694) 2022-09-16 02:58:36 -07:00