-
Notifications
You must be signed in to change notification settings - Fork 0
/
IKVM.Clang.dist.msbuildproj
36 lines (32 loc) · 1.65 KB
/
IKVM.Clang.dist.msbuildproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<Project DefaultTargets="Publish">
<PropertyGroup>
<DistDir Condition="'$(DistDir)' == ''">$(DISTDIR)</DistDir>
<DistDir Condition="'$(DistDir)' == ''">$([System.IO.Path]::Combine('$(MSBuildThisFileDirectory)', 'dist'))</DistDir>
<DistDir>$([System.IO.Path]::GetFullPath('$(DistDir)'))</DistDir>
<SolutionFile>$([System.IO.Path]::Combine('$(MSBuildThisFileDirectory)', 'IKVM.Clang.sln'))</SolutionFile>
<Configuration Condition=" '$(Configuration)' == '' ">Release</Configuration>
<Platform Condition=" '$(Platform)' == '' ">Any CPU</Platform>
</PropertyGroup>
<ItemGroup>
<TargetsForPublish Include="$(SolutionFile)">
<Targets>dist%5Cdist-nuget:Publish</Targets>
<Properties>PublishDir=$(DistDir)\nuget</Properties>
</TargetsForPublish>
<TargetsForPublish Include="$(SolutionFile)">
<Targets>dist%5Cdist-vsix:Publish</Targets>
<Properties>PublishDir=$(DistDir)\vsix</Properties>
</TargetsForPublish>
<TargetsForPublish Include="$(SolutionFile)">
<Targets>dist%5Cdist-tests:Publish</Targets>
<Properties>PublishDir=$(DistDir)\tests</Properties>
</TargetsForPublish>
</ItemGroup>
<Target Name="Publish">
<ItemGroup>
<_TargetsForPublish Include="@(TargetsForPublish)">
<Properties>%(TargetsForPublish.Properties)</Properties>
</_TargetsForPublish>
</ItemGroup>
<MSBuild BuildInParallel="$(BuildInParallel)" ContinueOnError="false" Projects="@(_TargetsForPublish)" Targets="%(_TargetsForPublish.Targets)" />
</Target>
</Project>