From 252b05b7961bd70c0ddcf6ea5d57d142b91007cf Mon Sep 17 00:00:00 2001 From: Riccardo Cipolleschi Date: Thu, 21 Sep 2023 11:58:03 +0100 Subject: [PATCH] Move hermes ruby files to proper folder when building from local e2e test --- scripts/testing-utils.js | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/scripts/testing-utils.js b/scripts/testing-utils.js index 636bf9cfa1351b..b742209a6def9f 100644 --- a/scripts/testing-utils.js +++ b/scripts/testing-utils.js @@ -214,7 +214,19 @@ function buildArtifactsLocally( expandHermesSourceTarball(); } - // need to move the scripts inside the local hermes cloned folder + // need to move the podspec file from hermes-engine to hermes folder + // cp sdks/hermes-engine/hermes-engine.podspec /hermes-engine.podspec + cp( + `${reactNativePackagePath}/sdks/hermes-engine/hermes-engine.podspec`, + `${reactNativePackagePath}/sdks/hermes/hermes-engine.podspec`, + ); + // need to move the hermes-utils file from hermes-engine to hermes folder + // cp sdks/hermes-engine/hermes-utils.rb /hermes-utils.rb + cp( + `${reactNativePackagePath}/sdks/hermes-engine/hermes-utils.rb`, + `${reactNativePackagePath}/sdks/hermes/hermes-utils.rb`, + ); + // need to move the shell scripts file from hermes-engine to hermes folder // cp sdks/hermes-engine/utils/*.sh /utils/. cp( `${reactNativePackagePath}/sdks/hermes-engine/utils/*.sh`,