summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/mod-build-config.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/mod-build-config.md b/docs/mod-build-config.md
index ca750c86..2616d8a5 100644
--- a/docs/mod-build-config.md
+++ b/docs/mod-build-config.md
@@ -120,6 +120,19 @@ or you have multiple installs, you can specify the path yourself. There's two wa
The configuration will check your custom path first, then fall back to the default paths (so it'll
still compile on a different computer).
+### Unit test projects
+**(upcoming in 2.0.3)**
+
+You can use the package in unit test projects too. Its optional unit test mode...
+
+1. disables deploying the project as a mod;
+2. disables creating a release zip;
+2. and copies the referenced DLLs into the build output for unit test frameworks.
+
+To enable it, add this above the first `</PropertyGroup>` in your `.csproj`:
+```xml
+<ModUnitTests>True</ModUnitTests>
+```
## Troubleshoot
### "Failed to find the game install path"