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

Specs: check non hidden files are not pruned #330

Merged

Conversation

bcardiff
Copy link
Member

This improves the coverage of the prune specs added when #57 was closed.
The hidden files are not removed because the Dir[File.join(Shards.install_path, "*")] will not enumerate it by default. With this PR we are stressing the check that existing files (not directories) in the ./lib folders are kept. And not because they are hidden.

@bcardiff bcardiff merged commit 9552fb2 into crystal-lang:master Mar 19, 2020
@bcardiff bcardiff added this to the v0.10.0 milestone Mar 19, 2020
@bcardiff bcardiff deleted the refactor/spec-prune-not-hidden branch March 20, 2020 17:08
taylor pushed a commit to vulk/shards that referenced this pull request Aug 11, 2020
f-fr pushed a commit to f-fr/shards that referenced this pull request Jan 2, 2021
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

3 participants