Skip to content

Commit

Permalink
adding a "Windows" suffix to addin name for Win32 build
Browse files Browse the repository at this point in the history
  • Loading branch information
salaros committed Dec 8, 2017
1 parent 0e94d85 commit 6605d38
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/MonoDevelop.WakaTime.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,18 @@
<Folder Include="Forms\" />
</ItemGroup>
<Target Name="AfterBuild">
<Exec Command="mdtool setup pack $(SolutionDir)\$(OutDir)\MonoDevelop.WakaTime.addin.xml" ContinueOnError="true" WorkingDirectory="$(SolutionDir)\$(OutDir)" />
<ItemGroup>
<AddinFilesWin32 Include="$(OutputPath)\**\*_Windows.mpack" />
</ItemGroup>
<Delete Files="@(AddinFilesWin32)" ContinueOnError="true" Condition="'$(Configuration)'=='DebugWin32'" />
<PropertyGroup>
<OutputAbsolutePath>$([System.IO.Path]::GetFullPath($(OutputPath)))</OutputAbsolutePath>
</PropertyGroup>
<Exec Command="mdtool setup pack $(OutputAbsolutePath)MonoDevelop.WakaTime.addin.xml" ContinueOnError="true" WorkingDirectory="$(OutputAbsolutePath)" />
<ItemGroup>
<AddinFiles Include="$(OutputPath)\**\*.mpack" />
</ItemGroup>
<Move SourceFiles="@(AddinFiles)" ContinueOnError="true" Condition="'$(Configuration)'=='DebugWin32'" DestinationFiles="@(AddinFiles-&gt;'$(OutputAbsolutePath)\%(Filename)_Windows%(Extension)')" />
</Target>
<ProjectExtensions>
<MonoDevelop>
Expand Down

0 comments on commit 6605d38

Please sign in to comment.