Skip to content
This repository was archived by the owner on May 21, 2019. It is now read-only.

Use ** rather than * for globbing #109

Closed
wants to merge 1 commit into from

Conversation

geirsagberg
Copy link

I ran into an issue when building https://github.com/aspnet/JavaScriptServices where the samples were in a lower subdirectory. Since the glob samples/*/project.json would only match projects directly below samples, the projects were not being built. Using ** instead matches all project.json in all subdirectories.

I ran into an issue when building https://github.com/aspnet/JavaScriptServices where the samples were in a lower subdirectory.  Since the glob `samples/*/project.json` would only match projects directly below `samples`, the projects were not being built. Using `** ` instead matches all `project.json` in all subdirectories.
@dnfclas
Copy link

dnfclas commented Aug 17, 2016

Hi @geirsagberg, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!

The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.

TTYL, DNFBOT;

@BrennanConroy
Copy link
Member

Pretty sure we did this on purpose, it avoids building things like /samples/HelloSample/bin/Debug/net451/project.json

@davidfowl
Copy link
Member

We shouldn't change our default but having it be configurable is ok

@geirsagberg
Copy link
Author

Gotcha. I'll close the PR for now and re-open it if I can figure out how to make it configurable.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants