mirror of
https://github.com/Ellpeck/Contentless.git
synced 2024-06-15 19:14:32 +02:00
a10689e3bb
* Add extraction of project file path.
* Add field for reference syncing in config file.
* Add new dependencies.
* Add sync algorithm for references.
* Update version
* Fix ups
* Rename ReferenceHeader
* Fix message
* Check arguments count.
* Fix
* Revert "Update version"
This reverts commit e24d75d18a
.
* Change error logic - no return
* Add adding new references.
* Add more true NuGet support.
* Fix braces.
* Fix First call.
---------
Co-authored-by: Ell <me@ellpeck.de>
33 lines
759 B
C#
33 lines
759 B
C#
using System;
|
|
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();
|
|
|
|
[JsonProperty("references")]
|
|
public string[] References = Array.Empty<string>();
|
|
}
|
|
|
|
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;
|
|
|
|
} |