
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.
36 lines
670 B
C#
36 lines
670 B
C#
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;
|
|
}
|
|
}
|
|
}
|
|
}
|