specify pattern usage

This commit is contained in:
Ell 2024-07-29 17:46:57 +02:00
parent 4efca09f60
commit 89ea642b86

View file

@ -24,7 +24,7 @@ Contentless will now automatically add any content files from your `Content` dir
If you want to change the way Contentless works, you can use a configuration file. To do so, simply create a file named `Contentless.json` in the same directory as your `Content.mgcb` file. You can use the config to change several options: If you want to change the way Contentless works, you can use a configuration file. To do so, simply create a file named `Contentless.json` in the same directory as your `Content.mgcb` file. You can use the config to change several options:
```json5 ```json5
{ {
// The list of files that should be excluded. Can use simple glob-style patterns including "*" and "?". // 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": [ "exclude": [
"obj/", "obj/",
@ -33,7 +33,7 @@ If you want to change the way Contentless works, you can use a configuration fil
// If any files that were skipped without errors should be logged (Files that already have entries or files that were ignored) // If any files that were skipped without errors should be logged (Files that already have entries or files that were ignored)
// Default: true // Default: true
"logSkipped": true, "logSkipped": true,
// The list of files that should use a different importer or processor than the one that Contentless automatically determined. Can use simple glob-style patterns including "*" and "?". // The list of files that should use a different importer or processor than the one that Contentless automatically determined. Can use simple glob-style patterns including "*" to match any number of any character, and "?" to match any single character.
// Default: {} // Default: {}
"overrides": { "overrides": {
// Example: Make all files matching ".json" use the importer "JsonImporter" // Example: Make all files matching ".json" use the importer "JsonImporter"