Skip to content

Commit

Permalink
moved MiniAVC into dependencies folder and version information to roo…
Browse files Browse the repository at this point in the history
…t level.
  • Loading branch information
Brandon Frie committed Apr 2, 2020
1 parent b013fad commit 2f1714a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 12 deletions.
5 changes: 3 additions & 2 deletions Telemachus/AfterBuild.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ rd /s /q "%1..\ksp-telemachus-dev\GameData\Telemachus"
xcopy "%2Servers.dll" "%1..\publish\GameData\Telemachus\Plugins\" /e /y /i /r
xcopy "%2Telemachus.dll" "%1..\publish\GameData\Telemachus\Plugins\" /e /y /i /r
xcopy "%2websocket-sharp.dll" "%1..\publish\GameData\Telemachus\Plugins\" /e /y /i /r
xcopy "%2\deps\MiniAVC.dll" "%1..\publish\GameData\Telemachus\" /e /y /i /r
xcopy "%2\deps\telemachusReborn.version" "%1..\publish\GameData\Telemachus\" /e /y /i /r

xcopy "%1..\dependencies\MiniAVC.dll" "%1..\publish\GameData\Telemachus\" /y /i /r
xcopy "%1..\TelemachusReborn.version" "%1..\publish\GameData\Telemachus\" /y /i /r

xcopy "%1..\Parts\*" "%1..\publish\GameData\Telemachus\Parts\" /e /y /i /r
xcopy "%1..\WebPages\WebPages\src\*" "%1..\publish\GameData\Telemachus\Plugins\PluginData\Telemachus\" /e /y /i /r
Expand Down
4 changes: 2 additions & 2 deletions Telemachus/AfterBuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ mkdir -p "$ProjectDir/../publish/GameData/Telemachus/Plugins/PluginData/Telemach
cp "$TargetDir/Telemachus.dll" "$ProjectDir/../publish/GameData/Telemachus/Plugins/"
cp "$TargetDir/websocket-sharp.dll" "$ProjectDir/../publish/GameData/Telemachus/Plugins/"

cp "$TargetDir/deps/MiniAVC.dll" "$ProjectDir/../publish/GameData/Telemachus/"
cp "$TargetDir/deps/TelemachusReborn.version" "$ProjectDir/../publish/GameData/Telemachus/"
cp "$ProjectDir/../dependencies/MiniAVC.dll" "$ProjectDir/../publish/GameData/Telemachus/"
cp "$ProjectDir/../TelemachusReborn.version" "$ProjectDir/../publish/GameData/Telemachus/"

cp -ra "$ProjectDir/../Parts/." "$ProjectDir/../publish/GameData/Telemachus/Parts/"
cp -ra "$ProjectDir/../WebPages/WebPages/src/." "$ProjectDir/../publish/GameData/Telemachus/Plugins/PluginData/Telemachus/"
Expand Down
8 changes: 0 additions & 8 deletions Telemachus/Telemachus.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -117,14 +117,6 @@
<ItemGroup>
<Content Include="AfterBuild.bat" />
<Content Include="AfterBuild.sh" />
<Content Include="deps\MiniAVC.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<None Include="deps\TelemachusReborn.version">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 2f1714a

Please sign in to comment.