-
-
Notifications
You must be signed in to change notification settings - Fork 124
/
IKVM.dist.msbuildproj
44 lines (40 loc) · 2.04 KB
/
IKVM.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
37
38
39
40
41
42
43
44
<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.sln'))</SolutionFile>
<Configuration Condition=" '$(Configuration)' == '' ">Release</Configuration>
<Platform Condition=" '$(Platform)' == '' ">Any CPU</Platform>
</PropertyGroup>
<ItemGroup>
<TargetsForPublish Include="$(SolutionFile)">
<Targets>dist%5Cdist-tools:Publish</Targets>
<Properties>PublishDir=$(DistDir)\tools</Properties>
</TargetsForPublish>
<TargetsForPublish Include="$(SolutionFile)">
<Targets>dist%5Cdist-jre:Publish</Targets>
<Properties>PublishDir=$(DistDir)\jre</Properties>
</TargetsForPublish>
<TargetsForPublish Include="$(SolutionFile)">
<Targets>dist%5Cdist-jdk:Publish</Targets>
<Properties>PublishDir=$(DistDir)\jdk</Properties>
</TargetsForPublish>
<TargetsForPublish Include="$(SolutionFile)">
<Targets>dist%5Cdist-nuget:Publish</Targets>
<Properties>PublishDir=$(DistDir)\nuget</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>