Skip to content
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

When saving build artifacts, rather than copying, save list of files to ignore #1935

Merged
merged 3 commits into from Nov 18, 2016

Conversation

sebmck
Copy link
Contributor

@sebmck sebmck commented Nov 18, 2016

Summary

This PR removes the build artifact copying to our cache and instead saves a list of the build artifact files so we ignore them when considering files extraneous inside modules. We need to save this list to distinguish build artifacts (which we should keep) and other extraneous files.

If we consider build artifacts to be extraneous then it'd require running all install scripts, even if they weren't touched, on every single install which is excessively expensive.

Test plan

Tests were added. $ jest.

Copy link
Member

@bestander bestander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯
Let's wait for CI

@bestander bestander merged commit 3f765c3 into master Nov 18, 2016
bestander pushed a commit that referenced this pull request Nov 18, 2016
…to ignore (#1935)

* When saving build artifacts, rather than copying, save list of files to ignore

* fix lint and tests

* fix test fixture
@wyze wyze deleted the build-artifact-save-list branch November 18, 2016 19:48
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.

None yet

2 participants