From 09bb5c805a4236f069e82521010a280962e36cef Mon Sep 17 00:00:00 2001 From: Gandifil Date: Wed, 20 Dec 2023 19:47:23 +0300 Subject: [PATCH] Add field for reference syncing in config file. --- Contentless/Config.cs | 5 ++++- Test/Content/Contentless.json | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Contentless/Config.cs b/Contentless/Config.cs index beacabd..d1dd626 100644 --- a/Contentless/Config.cs +++ b/Contentless/Config.cs @@ -1,3 +1,4 @@ +using System; using System.Collections.Generic; using Newtonsoft.Json; @@ -13,7 +14,9 @@ public class Config { [JsonProperty("overrides")] public Dictionary Overrides = new(); - + + [JsonProperty("references")] + public string[] References = Array.Empty(); } public class Override { diff --git a/Test/Content/Contentless.json b/Test/Content/Contentless.json index 63ff0e0..1be0cbd 100644 --- a/Test/Content/Contentless.json +++ b/Test/Content/Contentless.json @@ -5,6 +5,7 @@ "Ex*.png" ], "logSkipped": false, + "references": ["monogame.extended.content.pipeline"], "overrides": { "Copy.*": { "copy": true