summaryrefslogtreecommitdiff
path: root/src/SMAPI.ModBuildConfig
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2018-04-10 18:27:09 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2018-04-10 18:27:09 -0400
commit77b4d1e9a2187b3fb1222da5a7209c1bbb6f6d3c (patch)
treea04fdb9e5e0b1bdd49ac5097487f6186797abfc0 /src/SMAPI.ModBuildConfig
parent9fba3c12667555958e2eb6ecf1d2ebe47fd77c58 (diff)
parentb74b530a8acd850a0fa04f24347b91f02be7cbb6 (diff)
downloadSMAPI-77b4d1e9a2187b3fb1222da5a7209c1bbb6f6d3c.tar.gz
SMAPI-77b4d1e9a2187b3fb1222da5a7209c1bbb6f6d3c.tar.bz2
SMAPI-77b4d1e9a2187b3fb1222da5a7209c1bbb6f6d3c.zip
Merge branch 'feature/mod-code-analysis' into develop
Diffstat (limited to 'src/SMAPI.ModBuildConfig')
-rw-r--r--src/SMAPI.ModBuildConfig/StardewModdingAPI.ModBuildConfig.csproj1
-rw-r--r--src/SMAPI.ModBuildConfig/build/smapi.targets2
-rw-r--r--src/SMAPI.ModBuildConfig/package.nuspec24
3 files changed, 5 insertions, 22 deletions
diff --git a/src/SMAPI.ModBuildConfig/StardewModdingAPI.ModBuildConfig.csproj b/src/SMAPI.ModBuildConfig/StardewModdingAPI.ModBuildConfig.csproj
index d2e06e05..2e3ba356 100644
--- a/src/SMAPI.ModBuildConfig/StardewModdingAPI.ModBuildConfig.csproj
+++ b/src/SMAPI.ModBuildConfig/StardewModdingAPI.ModBuildConfig.csproj
@@ -57,4 +57,5 @@
</ItemGroup>
<Import Project="..\SMAPI.Common\StardewModdingAPI.Common.projitems" Label="Shared" />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <Import Project="..\..\build\prepare-nuget-package.targets" />
</Project> \ No newline at end of file
diff --git a/src/SMAPI.ModBuildConfig/build/smapi.targets b/src/SMAPI.ModBuildConfig/build/smapi.targets
index d2e37101..a177840c 100644
--- a/src/SMAPI.ModBuildConfig/build/smapi.targets
+++ b/src/SMAPI.ModBuildConfig/build/smapi.targets
@@ -142,7 +142,7 @@
<Target Name="BeforeBuild">
<Error Condition="'$(OS)' != 'OSX' AND '$(OS)' != 'Unix' AND '$(OS)' != 'Windows_NT'" Text="The mod build package doesn't recognise OS type '$(OS)'." />
- <Error Condition="!Exists('$(GamePath)')" Text="The mod build package can't find your game folder. You can specify where to find it; see details at https://github.com/Pathoschild/SMAPI/blob/develop/docs/mod-build-config.md#game-path." />
+ <Error Condition="!Exists('$(GamePath)')" Text="The mod build package can't find your game folder. You can specify where to find it; see https://smapi.io/buildmsg/game-path." />
<Error Condition="'$(OS)' == 'Windows_NT' AND !Exists('$(GamePath)\Stardew Valley.exe')" Text="The mod build package found a game folder at $(GamePath), but it doesn't contain the Stardew Valley.exe file. If this folder is invalid, delete it and the package will autodetect another game install path." />
<Error Condition="'$(OS)' != 'Windows_NT' AND !Exists('$(GamePath)\StardewValley.exe')" Text="The mod build package found a game folder at $(GamePath), but it doesn't contain the StardewValley.exe file. If this folder is invalid, delete it and the package will autodetect another game install path." />
<Error Condition="!Exists('$(GamePath)\StardewModdingAPI.exe')" Text="The mod build package found a game folder at $(GamePath), but it doesn't contain SMAPI. You need to install SMAPI before building the mod." />
diff --git a/src/SMAPI.ModBuildConfig/package.nuspec b/src/SMAPI.ModBuildConfig/package.nuspec
index d24e15be..a280a268 100644
--- a/src/SMAPI.ModBuildConfig/package.nuspec
+++ b/src/SMAPI.ModBuildConfig/package.nuspec
@@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
<metadata>
<id>Pathoschild.Stardew.ModBuildConfig</id>
- <version>2.0.3-alpha20180325</version>
+ <version>2.1-alpha20180409</version>
<title>Build package for SMAPI mods</title>
<authors>Pathoschild</authors>
<owners>Pathoschild</owners>
@@ -12,28 +12,10 @@
<iconUrl>https://raw.githubusercontent.com/Pathoschild/SMAPI/develop/src/SMAPI.ModBuildConfig/assets/nuget-icon.png</iconUrl>
<description>Automates the build configuration for crossplatform Stardew Valley SMAPI mods.</description>
<releaseNotes>
- 2.0:
- - Added: mods are now copied into the `Mods` folder automatically (configurable).
- - Added: release zips are now created automatically in your build output folder (configurable).
- - Added: mod deploy and release zips now exclude Json.NET automatically, since it's provided by SMAPI.
- - Added mod's version to release zip filename.
- - Improved errors to simplify troubleshooting.
- - Fixed release zip not having a mod folder.
- - Fixed release zip failing if mod name contains characters that aren't valid in a filename.
-
- 2.0.1:
- - Fixed mod deploy failing to create subfolders if they don't already exist.
-
- 2.0.2:
- - Fixed compatibility issue on Linux.
-
- 2.0.3:
+ 2.1:
- Added support for Stardew Valley 1.3.
- Added support for unit test projects.
+ - Added C# analyzers to warn about implicit conversions of Netcode fields in Stardew Valley 1.3.
</releaseNotes>
</metadata>
- <files>
- <file src="build/smapi.targets" target="build/Pathoschild.Stardew.ModBuildConfig.targets" />
- <file src="bin/StardewModdingAPI.ModBuildConfig.dll" target="build/StardewModdingAPI.ModBuildConfig.dll" />
- </files>
</package>