mirror of
https://github.com/Ellpeck/Contentless.git
synced 2024-09-25 11:21:04 +02:00
30 lines
No EOL
651 B
C#
30 lines
No EOL
651 B
C#
using System.Collections.Generic;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace Contentless;
|
|
|
|
public class Config {
|
|
|
|
[JsonProperty("exclude")]
|
|
public string[] ExcludedFiles = {"bin/", "obj/"};
|
|
|
|
[JsonProperty("logSkipped")]
|
|
public bool LogSkipped = true;
|
|
|
|
[JsonProperty("overrides")]
|
|
public Dictionary<string, Override> Overrides = new();
|
|
|
|
}
|
|
|
|
public class Override {
|
|
|
|
[JsonProperty("importer")]
|
|
public string Importer;
|
|
[JsonProperty("processor")]
|
|
public string Processor;
|
|
[JsonProperty("processorParams")]
|
|
public Dictionary<string, string> ProcessorParams = new();
|
|
[JsonProperty("copy")]
|
|
public bool Copy;
|
|
|
|
} |