Created
September 14, 2015 21:26
-
-
Save trayburn/2a8a1d87db9c42bbbaee to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$excludes = @("node_modules", "packages", ".git", ".vs") | |
function Get-SolutionFiles() { | |
( | |
@(Get-ChildItem *.sln) + | |
@(Get-ChildItem -Directory | ? { $excludes -notcontains $_.Name } | % { Get-ChildItem $_ -Recurse -Filter *.sln }) | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment