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`,