summaryrefslogtreecommitdiff
path: root/build/common.targets
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-10-27 03:18:48 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-10-27 03:18:48 -0400
commit59dd604cf2905adf5fce7e9bb7b97886891aae81 (patch)
tree36694b97bc60edb24a30284679a448b880d5eb6c /build/common.targets
parentb945fcf5553f2df63db1fad8a73c65cd7fa7daa3 (diff)
downloadSMAPI-59dd604cf2905adf5fce7e9bb7b97886891aae81.tar.gz
SMAPI-59dd604cf2905adf5fce7e9bb7b97886891aae81.tar.bz2
SMAPI-59dd604cf2905adf5fce7e9bb7b97886891aae81.zip
rename TrainerMod to Console Commands to clarify purpose
Diffstat (limited to 'build/common.targets')
-rw-r--r--build/common.targets10
1 files changed, 5 insertions, 5 deletions
diff --git a/build/common.targets b/build/common.targets
index ee138524..aa11344e 100644
--- a/build/common.targets
+++ b/build/common.targets
@@ -78,7 +78,7 @@
<!-- copy files into game directory and enable debugging (only in debug mode) -->
<Target Name="AfterBuild">
- <CallTarget Targets="CopySMAPI;CopyTrainerMod" Condition="'$(Configuration)' == 'Debug'" />
+ <CallTarget Targets="CopySMAPI;CopyDefaultMod" Condition="'$(Configuration)' == 'Debug'" />
</Target>
<Target Name="CopySMAPI" Condition="'$(MSBuildProjectName)' == 'StardewModdingAPI'">
<Copy SourceFiles="$(TargetDir)\$(TargetName).exe" DestinationFolder="$(GamePath)" />
@@ -89,10 +89,10 @@
<Copy SourceFiles="$(TargetDir)\Newtonsoft.Json.dll" DestinationFolder="$(GamePath)" />
<Copy SourceFiles="$(TargetDir)\Mono.Cecil.dll" DestinationFolder="$(GamePath)" />
</Target>
- <Target Name="CopyTrainerMod" Condition="'$(MSBuildProjectName)' == 'TrainerMod'">
- <Copy SourceFiles="$(TargetDir)\$(TargetName).dll" DestinationFolder="$(GamePath)\Mods\TrainerMod" />
- <Copy SourceFiles="$(TargetDir)\$(TargetName).pdb" DestinationFolder="$(GamePath)\Mods\TrainerMod" Condition="Exists('$(TargetDir)\$(TargetName).pdb')" />
- <Copy SourceFiles="$(TargetDir)\manifest.json" DestinationFolder="$(GamePath)\Mods\TrainerMod" />
+ <Target Name="CopyDefaultMod" Condition="'$(MSBuildProjectName)' == 'StardewModdingAPI.Mods.ConsoleCommands'">
+ <Copy SourceFiles="$(TargetDir)\$(TargetName).dll" DestinationFolder="$(GamePath)\Mods\ConsoleCommands" />
+ <Copy SourceFiles="$(TargetDir)\$(TargetName).pdb" DestinationFolder="$(GamePath)\Mods\ConsoleCommands" Condition="Exists('$(TargetDir)\$(TargetName).pdb')" />
+ <Copy SourceFiles="$(TargetDir)\manifest.json" DestinationFolder="$(GamePath)\Mods\ConsoleCommands" />
</Target>
<!-- launch SMAPI on debug -->