Skip to content

Commit

Permalink
Move hermes-engine.podspec and hermes-utils.rb from hermes-engine to …
Browse files Browse the repository at this point in the history
…hermes folders when building (#39575)
  • Loading branch information
cipolleschi authored Oct 2, 2023
1 parent 1e38d4d commit 3c4cc59
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion scripts/testing-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 <your_hermes_checkout>/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 <your_hermes_checkout>/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 <your_hermes_checkout>/utils/.
cp(
`${reactNativePackagePath}/sdks/hermes-engine/utils/*.sh`,
Expand Down

0 comments on commit 3c4cc59

Please sign in to comment.