wgnf / liz

liz (ˈlɪz) is a tool to extract license-information from your project/solution aimed on a fast and correct process. Whether it's via a dotnet-CLI-Tool, Cake-Addin or Nuke-Addon
MIT License
9 stars 0 forks source link

feat: validate license-types #85

Closed wgnf closed 2 years ago

wgnf commented 2 years ago

📫 Addressed Issue(s)

📄 Description

Add the ability to validate license-types. For that the user can provide a whitelist or blacklist to define which license-types are the only ones allowed or which license-types are the only ones disallowed.

Tasks:

✅ Checks

codecov[bot] commented 2 years ago

Codecov Report

Merging #85 (d205294) into main (b36a0c4) will decrease coverage by 0.09%. The diff coverage is 95.05%.

@@            Coverage Diff             @@
##             main      #85      +/-   ##
==========================================
- Coverage   96.54%   96.45%   -0.10%     
==========================================
  Files          48       52       +4     
  Lines        1851     2029     +178     
==========================================
+ Hits         1787     1957     +170     
- Misses         64       72       +8     
Impacted Files Coverage Δ
src/Tool/Liz.Tool/CommandLine/CommandProvider.cs 79.64% <68.18%> (-2.08%) :arrow_down:
...lt/ValidateLicenseTypesBlacklistResultProcessor.cs 97.05% <97.05%> (ø)
...lt/ValidateLicenseTypesWhitelistResultProcessor.cs 97.05% <97.05%> (ø)
...ion/DeserializeLicenseTypeBlacklistPreprocessor.cs 100.00% <100.00%> (ø)
...ion/DeserializeLicenseTypeWhitelistPreprocessor.cs 100.00% <100.00%> (ø)
...Nuke/Liz.Nuke/ExtractLicensesSettingsExtensions.cs 100.00% <100.00%> (ø)
src/Tool/Liz.Tool/CommandLine/CommandRunner.cs 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update b36a0c4...d205294. Read the comment docs.