excubo-ag / WebCompiler

Apache License 2.0
148 stars 29 forks source link

Add File Globbing Support for Ignore Files/Folders #59

Closed alifeofkaizen closed 2 years ago

alifeofkaizen commented 2 years ago

This PR adds file globbing support for Ignoring Files/Folders as discussed in https://github.com/excubo-ag/WebCompiler/pull/58#issue-1099746053.

Note: This PR should be either reviewed/merged after #58 merges (as was based off the same branch and includes Support Trailing Slash in IgnoreFolder variables commit or #58 abandoned in favour of this PR which has both commits.

@kaizen365 ➜ /workspaces/WebCompiler (feature/ignorefolder-globbing ✗) $ dotnet test
  Determining projects to restore...
  All projects are up-to-date for restore.
  WebCompiler -> /workspaces/WebCompiler/WebCompiler/bin/Debug/net6.0/Excubo.WebCompiler.dll
  Tests_WebCompiler -> /workspaces/WebCompiler/Tests_WebCompiler/bin/Debug/net6.0/Tests_WebCompiler.dll
Test run for /workspaces/WebCompiler/Tests_WebCompiler/bin/Debug/net6.0/Tests_WebCompiler.dll (.NETCoreApp,Version=v6.0)
Microsoft (R) Test Execution Command Line Tool Version 17.0.0
Copyright (c) Microsoft Corporation.  All rights reserved.

Starting test execution, please wait...
A total of 1 test files matched the specified pattern.

Passed!  - Failed:     0, Passed:    50, Skipped:     0, Total:    50, Duration: 13 s - /workspaces/WebCompiler/Tests_WebCompiler/bin/Debug/net6.0/Tests_WebCompiler.dll (net6.0)
stefanloerwald commented 2 years ago

Thanks @kaizen365! I've just merged and deployed a new version.