mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix local e2e script by copying the hermes' ruby files to the right folder (#39580)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/39580 While testing other features, I realized that the script to generate a project locally, starting from the template, has a bug for which we were using the outdated `hermes-engine.podspec` coming from the Hermes repo to build hermes. This change fixes this by moving our files to the right folder. ## Changelog: [Internal] - Fix local e2e test script copying hermes rubyscript over Reviewed By: dmytrorykun Differential Revision: D49497716 fbshipit-source-id: f1d582ec9d9c8007cbd2f9c876c061af12735f83
This commit is contained in:
committed by
Facebook GitHub Bot
parent
1c1652d5a9
commit
42d090c94c
@@ -216,6 +216,14 @@ function buildArtifactsLocally(
|
||||
|
||||
// need to move the scripts inside the local hermes cloned folder
|
||||
// cp sdks/hermes-engine/utils/*.sh <your_hermes_checkout>/utils/.
|
||||
cp(
|
||||
`${reactNativePackagePath}/sdks/hermes-engine/hermes-engine.podspec`,
|
||||
`${reactNativePackagePath}/sdks/hermes/hermes-engine.podspec`,
|
||||
);
|
||||
cp(
|
||||
`${reactNativePackagePath}/sdks/hermes-engine/hermes-utils.rb`,
|
||||
`${reactNativePackagePath}/sdks/hermes/hermes-utils.rb`,
|
||||
);
|
||||
cp(
|
||||
`${reactNativePackagePath}/sdks/hermes-engine/utils/*.sh`,
|
||||
`${reactNativePackagePath}/sdks/hermes/utils/.`,
|
||||
|
||||
Reference in New Issue
Block a user