2016-07-21 03:42:23 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
|
<Import Project="UbuntuCoreclrAndCoreFxDependencies.props" />
|
|
|
|
<Import Project="DebianPackageBuildDependencies.props" />
|
|
|
|
<Import Project="CentosCoreclrAndCoreFxDependencies.props" />
|
|
|
|
|
|
|
|
<Target Name="CheckPrereqs"
|
2017-02-16 03:37:51 +00:00
|
|
|
DependsOnTargets="CheckUbuntuAptGetDependencies;
|
2016-07-21 03:42:23 +00:00
|
|
|
CheckCentOsYumDependencies;">
|
|
|
|
|
|
|
|
<Message Text="Using Stage0 version:" />
|
|
|
|
<Exec Command="$(DotnetStage0) --version" />
|
|
|
|
</Target>
|
|
|
|
|
|
|
|
<Target Name="CheckUbuntuAptGetDependencies"
|
|
|
|
Condition=" '$(Rid)' == 'ubuntu.14.04-x64' ">
|
|
|
|
|
|
|
|
<Exec Command="dpkg -s %(UbuntuCoreclrAndCoreFxDependencies.Identity)" />
|
|
|
|
|
2017-02-23 20:20:53 +00:00
|
|
|
<Exec Command="dpkg -s %(DebianPackageBuildDependencies.Identity)" Condition="$(SkipBuildingInstallers) != 'true'" />
|
2016-07-21 03:42:23 +00:00
|
|
|
|
|
|
|
<OnError ExecuteTargets="ShowAptGetUsage" />
|
|
|
|
</Target>
|
|
|
|
|
|
|
|
<Target Name="ShowAptGetUsage">
|
|
|
|
<Message Text="Install the missing dependency with `sudo apt-get install {package}`." />
|
|
|
|
</Target>
|
|
|
|
|
|
|
|
<Target Name="CheckCentOsYumDependencies"
|
|
|
|
Condition=" '$(OSName)' == 'centos' ">
|
|
|
|
|
|
|
|
<Exec Command="yum list installed %(CentosCoreclrAndCoreFxDependencies.Identity)" />
|
|
|
|
|
|
|
|
<OnError ExecuteTargets="ShowYumUsage" />
|
|
|
|
</Target>
|
|
|
|
|
|
|
|
<Target Name="ShowYumUsage">
|
|
|
|
<Message Text="Install the missing dependency with `yum install {package}`." />
|
|
|
|
</Target>
|
|
|
|
</Project>
|