cake
cake copied to clipboard
DotNetCoreRestore: support multiple root paths
Right now, the tool assumes there is only one path.
However, you can do the following:
dotnet restore "src/" "test/"
which is just a list of paths to restore. I'll make the tool support that.
ok, you could probably do dotnet restore ./
too to restore all.
You definitely can. I just don't want to restore all. Just specific directories.
@adamhathcock is this related to #1111 ?
@rlittlesii it looks like what you did is kind of what I'd do.
I think restore still supports subpath searching because I can do the command in the OP and it finds all project.jsons one level deeper. I guess that might not be the same as globbing
Would your PR cover the command I put?
@adamhathcock it could, I was going to add an alias for directory. It sounds like dot net restore
can handle the following
- List of directories
- List of Files
- Specific file
- Specific directory
Any I am missing any?
As far as I know, that looks complete from the docs say about '
That's supposed to say "root"
@adamhathcock perfect. Ill get moving on this.
Hey @RLittlesII it's been a few years since the last update on this one... Is this something you interested in reviving? If not, no worries and I'll put it up-for-grabs