Skip to content

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

Merged
zpao merged 1 commit intofacebook:masterfrom
sophiebits:npm-react-rec
Jan 21, 2014
Merged

Fix copying files to build/npm-react recursively#918
zpao merged 1 commit intofacebook:masterfrom
sophiebits:npm-react-rec

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