diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-06-19 13:46:10 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-09-14 18:16:06 -0400 |
commit | a07e2de9a031f3d5e79202eeea726a65065f1481 (patch) | |
tree | 7b525eee76118074975b2810075be9c90ec756ee | |
parent | 3f28abe2c2f0f7119e168b55a63e6384c4ca92df (diff) | |
download | SMAPI-a07e2de9a031f3d5e79202eeea726a65065f1481.tar.gz SMAPI-a07e2de9a031f3d5e79202eeea726a65065f1481.tar.bz2 SMAPI-a07e2de9a031f3d5e79202eeea726a65065f1481.zip |
keep true/false capitalisation consistent in mod build package
-rw-r--r-- | docs/mod-build-config.md | 16 | ||||
-rw-r--r-- | src/SMAPI.ModBuildConfig/build/smapi.targets | 10 |
2 files changed, 13 insertions, 13 deletions
diff --git a/docs/mod-build-config.md b/docs/mod-build-config.md index 5b39e7aa..87e0cf30 100644 --- a/docs/mod-build-config.md +++ b/docs/mod-build-config.md @@ -46,7 +46,7 @@ Framework (Windows). It automatically adjusts depending on which OS you're compi The assemblies aren't copied to the build output, since mods loaded by SMAPI won't need them. For non-mod projects like unit tests, you can set this property: ```xml -<CopyModReferencesToBuildOutput>True</CopyModReferencesToBuildOutput> +<CopyModReferencesToBuildOutput>true</CopyModReferencesToBuildOutput> ``` ### Copy files into the `Mods` folder and create release zip @@ -82,7 +82,7 @@ You can change the folder name: Or disable deploying the files: ```xml -<EnableModDeploy>False</EnableModDeploy> +<EnableModDeploy>false</EnableModDeploy> ``` </dd> @@ -99,7 +99,7 @@ You can change the folder path where the zip is created: Or disable zip creation: ```xml -<EnableModZip>False</EnableModZip> +<EnableModZip>false</EnableModZip> ``` </dd> @@ -117,7 +117,7 @@ This is disabled on Linux/Mac due to limitations with the Mono wrapper. To disable game debugging (only needed for some non-mod projects): ```xml -<EnableGameDebugging>False</EnableGameDebugging> +<EnableGameDebugging>false</EnableGameDebugging> ``` ### Preconfigure common settings @@ -249,14 +249,14 @@ You can use the package in non-mod projects too (e.g. unit tests or framework DL the mod-related package features: ```xml -<EnableGameDebugging>False</EnableGameDebugging> -<EnableModDeploy>False</EnableModDeploy> -<EnableModZip>False</EnableModZip> +<EnableGameDebugging>false</EnableGameDebugging> +<EnableModDeploy>false</EnableModDeploy> +<EnableModZip>false</EnableModZip> ``` If you need to copy the referenced DLLs into your build output, add this too: ```xml -<CopyModReferencesToBuildOutput>True</CopyModReferencesToBuildOutput> +<CopyModReferencesToBuildOutput>true</CopyModReferencesToBuildOutput> ``` ## Release notes diff --git a/src/SMAPI.ModBuildConfig/build/smapi.targets b/src/SMAPI.ModBuildConfig/build/smapi.targets index 7ee7aa21..1f512400 100644 --- a/src/SMAPI.ModBuildConfig/build/smapi.targets +++ b/src/SMAPI.ModBuildConfig/build/smapi.targets @@ -22,10 +22,10 @@ <!-- set default package options --> <ModFolderName Condition="'$(ModFolderName)' == ''">$(MSBuildProjectName)</ModFolderName> <ModZipPath Condition="'$(ModZipPath)' == ''">$(TargetDir)</ModZipPath> - <EnableModDeploy Condition="'$(EnableModDeploy)' == ''">True</EnableModDeploy> - <EnableModZip Condition="'$(EnableModZip)' == ''">True</EnableModZip> - <EnableGameDebugging Condition="$(EnableGameDebugging) == ''">True</EnableGameDebugging> - <CopyModReferencesToBuildOutput Condition="'$(CopyModReferencesToBuildOutput)' == ''">False</CopyModReferencesToBuildOutput> + <EnableModDeploy Condition="'$(EnableModDeploy)' == ''">true</EnableModDeploy> + <EnableModZip Condition="'$(EnableModZip)' == ''">true</EnableModZip> + <EnableGameDebugging Condition="$(EnableGameDebugging) == ''">true</EnableGameDebugging> + <CopyModReferencesToBuildOutput Condition="'$(CopyModReferencesToBuildOutput)' == ''">false</CopyModReferencesToBuildOutput> </PropertyGroup> @@ -86,7 +86,7 @@ </ItemGroup> <!-- launch game for debugging --> - <PropertyGroup Condition="$(EnableGameDebugging) == 'True'"> + <PropertyGroup Condition="$(EnableGameDebugging) == 'true'"> <StartAction>Program</StartAction> <StartProgram>$(GamePath)\StardewModdingAPI.exe</StartProgram> <StartWorkingDirectory>$(GamePath)</StartWorkingDirectory> |