summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-09-23 20:32:21 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-09-23 20:32:21 -0400
commit819b796e8dd264fbcea72ea065944a206743693e (patch)
treee0504a81f46d06dec1f659040e8f148374efc9c9 /build
parent05727acb9b6a90fd4911e74800fe5ea0ea02050d (diff)
downloadSMAPI-819b796e8dd264fbcea72ea065944a206743693e.tar.gz
SMAPI-819b796e8dd264fbcea72ea065944a206743693e.tar.bz2
SMAPI-819b796e8dd264fbcea72ea065944a206743693e.zip
streamline mod build config package creation
Diffstat (limited to 'build')
-rw-r--r--build/prepare-nuget-package.targets23
1 files changed, 0 insertions, 23 deletions
diff --git a/build/prepare-nuget-package.targets b/build/prepare-nuget-package.targets
deleted file mode 100644
index 0682d9ff..00000000
--- a/build/prepare-nuget-package.targets
+++ /dev/null
@@ -1,23 +0,0 @@
-<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <!--
-
- This build task is run from the ModBuildConfig project after it's been compiled, and copies the
- package files to the bin\Pathoschild.Stardew.ModBuildConfig folder.
-
- -->
- <Target Name="PreparePackage" AfterTargets="AfterBuild">
- <PropertyGroup>
- <PackagePath>$(SolutionDir)\..\bin\Pathoschild.Stardew.ModBuildConfig</PackagePath>
- </PropertyGroup>
- <RemoveDir Directories="$(PackagePath)" />
- <Copy SourceFiles="$(ProjectDir)/package.nuspec" DestinationFolder="$(PackagePath)" />
- <Copy SourceFiles="$(SolutionDir)/../build/find-game-folder.targets" DestinationFolder="$(PackagePath)/build" />
- <Copy SourceFiles="$(ProjectDir)/build/smapi.targets" DestinationFiles="$(PackagePath)/build/Pathoschild.Stardew.ModBuildConfig.targets" />
- <Copy SourceFiles="$(TargetDir)/assets/nuget-icon.png" DestinationFiles="$(PackagePath)/images/icon.png" />
- <Copy SourceFiles="$(TargetDir)/Newtonsoft.Json.dll" DestinationFolder="$(PackagePath)/build" />
- <Copy SourceFiles="$(TargetDir)/SMAPI.ModBuildConfig.dll" DestinationFolder="$(PackagePath)/build" />
- <Copy SourceFiles="$(TargetDir)/SMAPI.Toolkit.dll" DestinationFolder="$(PackagePath)/build" />
- <Copy SourceFiles="$(TargetDir)/SMAPI.Toolkit.CoreInterfaces.dll" DestinationFolder="$(PackagePath)/build" />
- <Copy SourceFiles="$(SolutionDir)/SMAPI.ModBuildConfig.Analyzer/bin/netstandard2.0/SMAPI.ModBuildConfig.Analyzer.dll" DestinationFolder="$(PackagePath)/analyzers/dotnet/cs" />
- </Target>
-</Project>