Multi Project Validator
A tool which searches recursively for project.json files, runs a set of analyses and reports on the result. For CLI we have only one rule currently, that Dependencies between projects must be equivalent to avoid stomping.
This commit is contained in:
parent
b25c2743ca
commit
6ff7404a48
10 changed files with 404 additions and 1 deletions
36
tools/MultiProjectValidator/AnalysisResult.cs
Normal file
36
tools/MultiProjectValidator/AnalysisResult.cs
Normal file
|
@ -0,0 +1,36 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace MultiProjectValidator
|
||||
{
|
||||
public class AnalysisResult
|
||||
{
|
||||
|
||||
private List<string> _messages;
|
||||
private bool _passed;
|
||||
|
||||
public AnalysisResult(List<string> messages, bool passed)
|
||||
{
|
||||
this._messages = messages;
|
||||
this._passed = passed;
|
||||
}
|
||||
|
||||
public List<string> Messages
|
||||
{
|
||||
get
|
||||
{
|
||||
return _messages;
|
||||
}
|
||||
}
|
||||
|
||||
public bool Passed
|
||||
{
|
||||
get
|
||||
{
|
||||
return _passed;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue