Skip to content

Commit

Permalink
[LOCAL] Copy hermes ruby files to hermes folder in local E2E test (#3…
Browse files Browse the repository at this point in the history
  • Loading branch information
cipolleschi committed Sep 22, 2023
1 parent 63bb3ba commit 9c2efff
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion scripts/testing-utils.js
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 9c2efff

Please sign in to comment.