mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Set hermes for Android template project in testing
Summary: Changelog: [Internal] - Set the hermes value as specified by the test-e2e-local script flag. Right now, the script incorrectly ignores the flag By default, the template project has `hermesEnabled=true` Reviewed By: cipolleschi Differential Revision: D49831355 fbshipit-source-id: 7fb8613fa86f2c6140b7d25b16aeb583e6e26c12
This commit is contained in:
committed by
Facebook GitHub Bot
parent
afddbb2b67
commit
c03d520e16
@@ -252,6 +252,16 @@ async function testRNTestProject(circleCIArtifacts) {
|
||||
`echo "react.internal.mavenLocalRepo=${mavenLocalPath}" >> android/gradle.properties`,
|
||||
);
|
||||
|
||||
// Update gradle properties to set Hermes as false
|
||||
if (!argv.hermes) {
|
||||
sed(
|
||||
'-i',
|
||||
'hermesEnabled=true',
|
||||
'hermesEnabled=false',
|
||||
'android/gradle.properties',
|
||||
);
|
||||
}
|
||||
|
||||
// doing the pod install here so that it's easier to play around RNTestProject
|
||||
cd('ios');
|
||||
exec('bundle install');
|
||||
|
||||
Reference in New Issue
Block a user