From 9c2efff20d89e605d74c99e7b8df4e721d1ba278 Mon Sep 17 00:00:00 2001 From: Riccardo Cipolleschi Date: Fri, 22 Sep 2023 14:35:03 +0100 Subject: [PATCH] [LOCAL] Copy hermes ruby files to hermes folder in local E2E test (#39577) --- 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`,