summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-04-21 14:20:41 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-09-14 17:16:45 -0400
commit3080c4fff4c70cc9672a4e3d0abbdc9ed49dab6c (patch)
tree214a6f0c2f840fb573370b62d8e1299bd092e0af
parent6f63bd00248fd90649718a1a77926a48f2df0e51 (diff)
downloadSMAPI-3080c4fff4c70cc9672a4e3d0abbdc9ed49dab6c.tar.gz
SMAPI-3080c4fff4c70cc9672a4e3d0abbdc9ed49dab6c.tar.bz2
SMAPI-3080c4fff4c70cc9672a4e3d0abbdc9ed49dab6c.zip
clarify path formatting in <IgnoreModFilePatterns>
-rw-r--r--docs/mod-build-config.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/mod-build-config.md b/docs/mod-build-config.md
index 4f46100a..fc63a5a2 100644
--- a/docs/mod-build-config.md
+++ b/docs/mod-build-config.md
@@ -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: