Skip to content

Fix copying files to build/npm-react recursively #918

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

Merged
merged 1 commit into from
Jan 21, 2014

Conversation

sophiebits
Copy link
Collaborator

The intention of the npm-react/**/* rule was to copy recursively but it would have flattened any nested directory structure. I changed the build/modules rule to copy recursively as well, which is necessary for ReactTestUtils to be able to require test/mock-modules.js successfully. (ReactTestUtils isn't included in a clean npm-react build currently but it will be in the future.)

This also makes running ART tests more practical.

The intention of the `npm-react/**/*` rule was to copy recursively but it would have flattened any nested directory structure. I changed the `build/modules` rule to copy recursively as well, which is necessary for `ReactTestUtils` to be able to require `test/mock-modules.js` successfully. (`ReactTestUtils` isn't included in a clean `npm-react` build currently but it will be in the future.)

This also makes running ART tests more practical.
zpao added a commit that referenced this pull request Jan 21, 2014
Fix copying files to build/npm-react recursively
@zpao zpao merged commit 9c91546 into facebook:master Jan 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants