2019-10-30 23:59:47 +01:00
|
|
|
using System.Collections.Generic;
|
2019-10-08 19:27:42 +02:00
|
|
|
using Newtonsoft.Json;
|
2019-11-19 14:11:52 +01:00
|
|
|
using Newtonsoft.Json.Linq;
|
2019-10-08 19:27:42 +02:00
|
|
|
|
|
|
|
namespace Contentless {
|
|
|
|
public class Config {
|
|
|
|
|
2020-06-25 11:53:25 +02:00
|
|
|
[JsonProperty("exclude")]
|
2019-10-08 19:27:42 +02:00
|
|
|
public string[] ExcludedFiles = {"bin/", "obj/"};
|
|
|
|
|
2020-06-25 11:53:25 +02:00
|
|
|
[JsonProperty("logSkipped")]
|
2019-10-08 19:27:42 +02:00
|
|
|
public bool LogSkipped = true;
|
|
|
|
|
2020-06-25 11:53:25 +02:00
|
|
|
[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
|
|
|
}
|
|
|
|
}
|