From d5640bc250f6b7132b367c3a570355797fa6c036 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Sat, 31 Aug 2024 13:46:30 +0200 Subject: [PATCH] fixed docs to account for new patterns --- README.md | 14 +++++++------- Test/Content/Contentless.json | 8 ++++---- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 5da4efc..e7c81ec 100644 --- a/README.md +++ b/README.md @@ -26,10 +26,10 @@ If you want to change the way Contentless works, you can use a configuration fil { // The list of files that should be excluded. // Can use simple glob-style patterns including "*" to match any number of any character, and "?" to match any single character. - // Default: ["obj/", "bin/"] + // Default: ["obj/*", "bin/*"] "exclude": [ - "obj/", - "bin/" + "obj/*", + "bin/*" ], // If any files that were skipped without errors should be logged (Files that already have entries or files that were ignored) // Default: true @@ -39,20 +39,20 @@ If you want to change the way Contentless works, you can use a configuration fil // Default: {} "overrides": { // Example: Make all files matching ".json" use the importer "JsonImporter" - ".json": { + "*/*.json": { "importer": "JsonImporter" }, // Example: Specifying both an importer and a processor - ".ogg": { + "*/*.ogg": { "importer": "OggImporter", "processor": "SongProcessor" }, // Example: Only specifying a processor - ".wav": { + "*/*.wav": { "processor": "SoundEffectProcessor" }, // Example: Setting a file to the Copy build action - ".txt": { + "*/*.txt": { "copy": true }, // Example: Adding processor parameters for files diff --git a/Test/Content/Contentless.json b/Test/Content/Contentless.json index cadbff2..21fa213 100644 --- a/Test/Content/Contentless.json +++ b/Test/Content/Contentless.json @@ -8,17 +8,17 @@ "logSkipped": true, "references": ["MonoGame.Extended.Content.Pipeline"], "overrides": { - "Copy.*": { + "*/Copy.*": { "copy": true }, - ".json": { + "*/*.json": { "copy": true }, - ".ogg": { + "*/*.ogg": { "importer": "OggImporter", "processor": "SongProcessor" }, - ".png": { + "*/*.png": { "processorParams": { "TextureFormat": "NoChange" }