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

[std] Implement std.glob() function #105

Merged
merged 3 commits into from
Sep 26, 2024
Merged

[std] Implement std.glob() function #105

merged 3 commits into from
Sep 26, 2024

Conversation

kylewlacy
Copy link
Member

This PR adds the new std.glob() function. This uses the new glob recipe type introduced by brioche-dev/brioche#119. Here's a little example inspired by #62:

// Get only the `go.mod` and `go.sum` files from a Go module
std.glob(goModule, ["**/go.mod", "**/go.sum"]);

@kylewlacy kylewlacy added this to the Post-Brioche v0.1.2 milestone Aug 31, 2024
@kylewlacy kylewlacy marked this pull request as ready for review September 26, 2024 09:25
@kylewlacy kylewlacy merged commit 79f173c into main Sep 26, 2024
3 checks passed
@kylewlacy kylewlacy deleted the add-std-glob branch September 26, 2024 09:26
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.

1 participant