From c2da903f95b32038c0d2f537369e4a4a6f7dbe27 Mon Sep 17 00:00:00 2001 From: Riccardo Cipolleschi Date: Thu, 21 Sep 2023 11:50:32 +0100 Subject: [PATCH] Move hermes-engine.podspec and hermes-utils.rb from hermes-engine to hermes folders when building --- 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 be4bc78b9c7f61..b48d1a85d25d29 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`,