clarify path formatting in <IgnoreModFilePatterns>

This commit is contained in:
Jesse Plamondon-Willard 2019-04-21 14:20:41 -04:00
parent 6f63bd0024
commit 3080c4fff4
No known key found for this signature in database
GPG Key ID: CF8B1456B3E29F49
1 changed files with 6 additions and 0 deletions

View File

@ -136,6 +136,12 @@ To exclude a file from the release:
relative path in your mod folder, that file won't be included. (This also works for `assets` and
`i18n`.)
Note that path delimiters are _not_ normalised in `<IgnoreFilePatterns>`. For crossplatform
compatibility, format those like this:
```xml
<IgnoreModFilePatterns>assets[/\\]paths.png</IgnoreModFilePatterns>
```
### Non-mod projects
You can use the package in non-mod projects too (e.g. unit tests or framework DLLs). You'll need to
disable deploying the mod and creating a release zip: