Contentless/Contentless/Config.cs

31 lines
809 B
C#
Raw Normal View History

2019-10-30 23:59:47 +01:00
using System.Collections.Generic;
2019-10-08 19:27:42 +02:00
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
2019-10-08 19:27:42 +02:00
namespace Contentless {
public class Config {
[JsonProperty("exclude")]
2019-10-08 19:27:42 +02:00
public string[] ExcludedFiles = {"bin/", "obj/"};
[JsonProperty("logSkipped")]
2019-10-08 19:27:42 +02:00
public bool LogSkipped = true;
[JsonProperty("overrides")]
public Dictionary<string, Override> Overrides = new Dictionary<string, Override>();
}
public class Override {
[JsonProperty("importer")]
public string Importer;
[JsonProperty("processor")]
public string Processor;
[JsonProperty("processorParams")]
public Dictionary<string, string> ProcessorParams = new Dictionary<string, string>();
[JsonProperty("copy")]
public bool Copy;
2019-10-28 23:43:48 +01:00
2019-10-08 19:27:42 +02:00
}
}