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

GH1710: GetSubDirectories alias #1711

Merged
merged 1 commit into from
Aug 1, 2017
Merged

GH1710: GetSubDirectories alias #1711

merged 1 commit into from
Aug 1, 2017

Conversation

patridge
Copy link
Contributor

As described in #1710, this offers a simple Alias to get a list of sub-directories for a given DirectoryPath.

@dnfclas
Copy link

dnfclas commented Jul 31, 2017

@patridge,
Thanks for your contribution.
To ensure that the project team has proper rights to use your work, please complete the Contribution License Agreement at https://cla2.dotnetfoundation.org.

It will cover your contributions to all .NET Foundation-managed open source projects.
Thanks,
.NET Foundation Pull Request Bot

@dnfclas
Copy link

dnfclas commented Jul 31, 2017

@patridge, thanks for signing the contribution license agreement. We will now validate the agreement and then the pull request.

Thanks, .NET Foundation Pull Request Bot

/// <returns>An absolute directory path.</returns>
[CakeMethodAlias]
[CakeAliasCategory("List")]
public static List<DirectoryPath> GetSubDirectories(this ICakeContext context, DirectoryPath directoryPath)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For consistency. This should return DirectoryPathCollection

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For consistency. This should return DirectoryPathCollection

Agreed @mholo65 👍

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! Fixed

@patridge
Copy link
Contributor Author

Let me know if/what I need to do about the TeamCity build failing. I wasn't totally sure what the error was describing when I logged in there as a guest.

@bjorkstromm
Copy link
Member

@patridge the fail on TeamCity has to do with reference assemblies missing/not found. Bug was introduced in PR #1645 and has nothing to do with your changes.

@devlead @patriksvensson can we get TC Agend with .NET 4.6.2 Targeting pack installed? Also, agent seems to use VS 2015:

[Step 1/1] MSBuild auto-detection: using msbuild version '14.0' from 'C:\Program Files (x86)\MSBuild\14.0\bin\amd64'.

Copy link
Member

@bjorkstromm bjorkstromm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@bjorkstromm
Copy link
Member

@patridge could you squash all commits into one. Thanks!

@devlead
Copy link
Member

devlead commented Aug 1, 2017

@mholo65 agents are maintained by JetBrains now, we could probably add a build step to install targeting pack, but best would be if they updated their agents. We'll reach out to them but meanwhile check isn't required.

@devlead devlead changed the title GetSubDirectories alias GH1711: GetSubDirectories alias Aug 1, 2017
Copy link
Member

@devlead devlead left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 I've rebased and squashed commits, and will merge as soon as CI finishes.

@devlead devlead merged commit 1a9d4bb into cake-build:develop Aug 1, 2017
@devlead devlead changed the title GH1711: GetSubDirectories alias GH1710: GetSubDirectories alias Aug 1, 2017
@devlead
Copy link
Member

devlead commented Aug 1, 2017

@patridge your changes have been merged, thanks for your contribution 👍

@patridge patridge deleted the getsubdirectories-alias branch August 15, 2017 22:13
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.

4 participants