-
Notifications
You must be signed in to change notification settings - Fork 24.7k
Apply react.gradle from node_modules/react-native #6610
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@satya164 updated the pull request. |
1 similar comment
@satya164 updated the pull request. |
@@ -72,10 +72,10 @@ gradle.projectsEvaluated { | |||
// Set up dev mode | |||
def devEnabled = !targetName.toLowerCase().contains("release") | |||
if (Os.isFamily(Os.FAMILY_WINDOWS)) { | |||
commandLine "cmd", "/c", "node", "node_modules/react-native/local-cli/cli.js", "bundle", "--platform", "android", "--dev", "${devEnabled}", | |||
commandLine "cmd", "/c", "react-native", "bundle", "--platform", "android", "--dev", "${devEnabled}", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes look unrelated.
Also, perhaps the top level is not the best place |
The goal is to minimize the number of files we need to bootstrap. This allows us to make the upgrade process smoother for everyone.
@satya164 updated the pull request. |
@foghina We can move it to |
Argh, forgot about that, good point. Looks good, thanks! @facebook-github-bot shipit |
Thanks for importing. If you are an FB employee go to Phabricator to review. |
Looks like tests got broken, @satya164 |
@bestander Checking |
@bestander Seem to be unrelated to this change? They are regarding adb issues, like unable to connect device. |
There are 2 issues:
It is odd that both failed consistently 2 times https://circleci.com/gh/facebook/react-native/tree/pull%2F6610 |
@bestander Weird. I'm unable to find the cause from the logs. Still trying to figure out why it's failing. |
It passes on Travis which is Node 4 and npm 2. |
@bestander Weird, why would NPM version affect moving a gradle file!!! |
That is completely mad, that is true. |
@bestander Maybe because I didn't merge master to my branch? |
@satya164 updated the pull request. |
Try rebasing on master, @satya164.
|
@bestander Rebased. Fingers crossed! |
Ok, tests now pass |
@facebook-github-bot shipit |
Thanks for importing. If you are an FB employee go to Phabricator to review. |
Thanks for picking this up @bestander! |
Summary:The goal is to minimize the number of files we need to bootstrap. This allows us to make the upgrade process smoother for everyone. If someone needs to customize the file, we already provide some config options. The ability to copy the file and modify it is always there for those few who need it. **Test plan** Generate a new project with the updated template. The app should build and run fine both in debug and production mode. Related facebook#6292 Closes facebook#6610 Differential Revision: D3109099 Pulled By: foghina fb-gh-sync-id: 13fc89e60daed30bf6349e532a140c1b6f8f053a fbshipit-source-id: 13fc89e60daed30bf6349e532a140c1b6f8f053a
Summary:The goal is to minimize the number of files we need to bootstrap. This allows us to make the upgrade process smoother for everyone. If someone needs to customize the file, we already provide some config options. The ability to copy the file and modify it is always there for those few who need it. **Test plan** Generate a new project with the updated template. The app should build and run fine both in debug and production mode. Related #6292 Closes facebook/react-native#6610 Differential Revision: D3109099 Pulled By: foghina fb-gh-sync-id: 13fc89e60daed30bf6349e532a140c1b6f8f053a fbshipit-source-id: 13fc89e60daed30bf6349e532a140c1b6f8f053a
The goal is to minimize the number of files we need to bootstrap. This allows us to make the upgrade process smoother for everyone.
If someone needs to customize the file, we already provide some config options. The ability to copy the file and modify it is always there for those few who need it.
Test plan
Generate a new project with the updated template. The app should build and run fine both in debug and production mode.
Related #6292