react-native/scripts
Dmitry Rykun 03de19745e Fix USE_HERMES envvar check
Summary:
Hermes is enabled by default. We set `USE_HERMES` envvar to `false` to explicilty disable Hermes. The only valid way to check it would be to compare it against `false`. Everything else will produce invalid results if `USE_HERMES` is not defined. For example `$USE_HERMES != true` will turn into `'' != true`, which evaluates to `true`.
Due to this bug source maps were not generated by default.

Changelog:
[iOS][Fixed] - USE_HERMES envvar check fixed in react-native-xcode.sh. Now source maps are generated by default.

Reviewed By: cipolleschi

Differential Revision: D38571971

fbshipit-source-id: bc6b505c225c56d62ee773b401b66d821965e106
2022-08-10 05:24:41 -07:00
..
__tests__ Circle CI: Create GiHub Release draft when bumping version 2022-07-14 13:42:08 -07:00
circleci Circle CI: Create GiHub Release draft when bumping version 2022-07-14 13:42:08 -07:00
cocoapods Enable Flipper for custom Xcode configurations (#34333) 2022-08-09 10:14:23 -07:00
codegen Silence deprecation warning for react-native dependency. (#34368) 2022-08-08 12:34:47 -07:00
hermes Simplify logic to choose if we need to build hermes from source or not. (#34232) 2022-07-22 02:13:47 -07:00
react_native_pods_utils Run script phases tests in CI and Sandcastle (#33802) 2022-05-11 10:00:28 -07:00
versiontemplates
xcode Export REACT_NATIVE_PATH and fix find-node-for-xcode.sh fallback behavior (#33674) 2022-04-21 06:59:17 -07:00
.npmignore Move cocoapods utilities to utils.rb - Part 1 (#33978) 2022-06-10 07:25:52 -07:00
.packager.env
.tests.env
android-e2e-test.js
android-setup.sh
bump-oss-version.js Fix up lint errors under react-native-github (#33622) 2022-04-22 16:25:25 -07:00
compose-source-maps.js
download-kotlin-compiler-with-buck.sh Download kotlin compiler JARs for Buck instead of checking them in (#33209) 2022-03-02 13:04:49 -08:00
find-node-for-xcode.sh Reintroduce find-node.sh as mitigation measure (#33538) 2022-04-04 02:43:07 -07:00
generate-api-docs.js
generate-artifacts.js Refactor generate-artifacts to improve testability. 2022-05-04 04:04:10 -07:00
generate-provider-cli.js
generate-specs-cli.js Update CodeGen to leverage the outputDir as suggested in diff review (#33729) 2022-05-04 04:04:10 -07:00
ios-configure-glog.sh fix (glog script): remove invalid param from sed (#33967) 2022-06-17 11:58:08 -07:00
launchPackager.bat
launchPackager.command Use NODE_BINARY from .xcode.env when running packager from Xcode (#34121) 2022-07-12 05:52:22 -07:00
lint-java.js
native_modules.rb Move cocoapods cli native_modules require from template to rn scripts (#34215) 2022-07-19 09:11:08 -07:00
node-binary.sh
objc-test.sh fix: Make WebSocketTests work in CI (#33721) 2022-04-28 08:53:24 -07:00
packager-reporter.js
packager.sh Use readlink instead of realpath in packager.sh (#34145) 2022-07-20 07:06:18 -07:00
prepare-package-for-release.js Fix up lint errors under react-native-github (#33622) 2022-04-22 16:25:25 -07:00
process-podspecs.sh
publish-npm.js Do not fail if -javadoc.jar are missing in the final NPM package (#33869) 2022-05-19 02:48:39 -07:00
react_native_pods.rb #34214 for main (#34271) 2022-07-27 07:56:05 -07:00
react-native-xcode.sh Fix USE_HERMES envvar check 2022-08-10 05:24:41 -07:00
run_ruby_tests.sh Run script phases tests in CI and Sandcastle (#33802) 2022-05-11 10:00:28 -07:00
run-android-ci-instrumentation-tests.js
run-android-emulator.sh Use realpath instead of readlink 2022-02-22 02:23:02 -08:00
run-android-local-integration-tests.sh
run-android-local-unit-tests.sh
run-ci-e2e-tests.js
run-ci-javascript-tests.js
run-instrumentation-tests-via-adb-shell.sh
set-rn-template-version.js
set-rn-version.js
sync-css-layout.sh
test-manual-e2e.sh Fix test-manual-e2e on Android/Hermes for New App Template (#34294) 2022-07-28 06:23:11 -07:00
try-n-times.js
update_podfile_lock.sh Use realpath instead of readlink 2022-02-22 02:23:02 -08:00
update-ruby.sh Added Gemfile.lock to git add files when calling update-ruby.sh (#33484) 2022-03-25 08:01:41 -07:00
validate-android-device-env.sh Update CONTRIBUTING.md, replace wiki links (#34035) 2022-06-21 19:30:23 -07:00
validate-android-sdk.sh
validate-android-test-env.sh
validate-ios-test-env.sh bump Node references from 12/14 to 14/16 (#32980) 2022-01-28 05:07:18 -08:00
version-utils.js Use CircleCI API to trigger releases (#32937) 2022-01-24 14:08:43 -08:00