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

The Glob library does not work correctly on windows. #1950

Merged
merged 1 commit into from
Aug 10, 2022

Conversation

nickdarnell
Copy link
Contributor

The Glob library does not work correctly on windows. This changes the approach to use the normal WalkDir crate, and the Globset crate instead to find the filter. This new code correctly compiles sass files across platforms now.

… approach to use the normal WalkDir crate, and the Globset crate instead to find the filter. This new code correctly compiles sass files across platforms now.
@Keats
Copy link
Collaborator

Keats commented Aug 2, 2022

Reference issue in glob: rust-lang/glob#112

@Keats Keats changed the base branch from master to next August 7, 2022 10:43
@Keats
Copy link
Collaborator

Keats commented Aug 7, 2022

Can we add a test for it? On the integration site in components/libs/site/tests/site.rs to make sure the sass content is correctly compiled.

@Keats Keats merged commit fe5d75a into getzola:next Aug 10, 2022
Keats pushed a commit that referenced this pull request Aug 14, 2022
… approach to use the normal WalkDir crate, and the Globset crate instead to find the filter. This new code correctly compiles sass files across platforms now. (#1950)
@ErichDonGubler
Copy link
Contributor

In case it's interesting,the wax crate trades some minor behaviors that are difficult to keep cross-platform for portable behavior across all of them (see the Unsupported Path Features), in addition to some other features.

@Keats
Copy link
Collaborator

Keats commented Aug 14, 2022

That could be nice!

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.

3 participants