Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViktor Hofer <viktor.hofer@microsoft.com>2020-12-08 03:06:30 +0300
committerGitHub <noreply@github.com>2020-12-08 03:06:30 +0300
commit86f25ee030ec85e872d8bfc9185c5a2f31bed08f (patch)
tree9bc14d18483f7c1ad9c40bc11706386c900651a8 /eng/regenerate-download-table.proj
parentb65825e27aedbe75d57379f9f17c3ba5ee677f3b (diff)
Move regenerate-download-table and cleanup (#45724)
Diffstat (limited to 'eng/regenerate-download-table.proj')
-rw-r--r--eng/regenerate-download-table.proj47
1 files changed, 47 insertions, 0 deletions
diff --git a/eng/regenerate-download-table.proj b/eng/regenerate-download-table.proj
new file mode 100644
index 00000000000..860765f104c
--- /dev/null
+++ b/eng/regenerate-download-table.proj
@@ -0,0 +1,47 @@
+<Project Sdk="Microsoft.Build.NoTargets">
+ <PropertyGroup>
+ <TargetFramework>netstandard2.0</TargetFramework>
+ </PropertyGroup>
+
+ <!-- installer.tasks needs to be built in advance. -->
+ <UsingTask TaskName="RegenerateDownloadTable" AssemblyFile="$(InstallerTasksAssemblyPath)" />
+
+ <Target Name="RegenerateDownloadTable"
+ AfterTargets="Build">
+ <!--
+ Column and row configuration for the readme table. The abbreviations match up with
+ reference-style Markdown links in the readme file to figure out what to put in the cells.
+ -->
+ <PropertyGroup>
+ <TablePath>$([MSBuild]::NormalizePath('$(RepoRoot)', 'docs', 'project', 'dogfooding.md'))</TablePath>
+ </PropertyGroup>
+
+ <ItemGroup>
+ <Branch Include="Master" Abbr="6.0.X" />
+
+ <Platform Include="Windows (x64)" Abbr="win-x64" />
+ <Platform Include="Windows (x86)" Abbr="win-x86" />
+ <Platform Include="Windows (arm64)" Abbr="win-arm64" />
+ <Platform Include="macOS (x64)" Abbr="osx-x64" />
+ <Platform Include="macOS (arm64)" Abbr="osx-arm64" />
+ <Platform Include="Linux (x64)" Parenthetical=" (for glibc based OS)" Abbr="linux-x64" />
+ <Platform Include="Linux (armhf)" Parenthetical=" (for glibc based OS)" Abbr="linux-arm"/>
+ <Platform Include="Linux (arm64)" Parenthetical=" (for glibc based OS)" Abbr="linux-arm64" />
+ <Platform Include="Linux-musl (x64)" Abbr="linux-musl-x64" />
+ <Platform Include="Linux-musl (arm)" Abbr="linux-musl-arm" />
+ <Platform Include="Linux-musl (arm64)" Abbr="linux-musl-arm64" />
+ <Platform Include="Dpkg Based Systems (x64)" Abbr="deb" />
+ <Platform Include="CentOS 7 (x64)" Abbr="centos-7" />
+ <Platform Include="RHEL 7.2 (x64)" Abbr="rhel7" />
+ <Platform Include="Fedora 27 (x64)" Abbr="fedora-27" />
+ <Platform Include="SLES 12 (x64)" Abbr="sles-12" />
+ <Platform Include="OpenSUSE 42 (x64)" Abbr="OpenSUSE-42" />
+ </ItemGroup>
+
+ <RegenerateDownloadTable ReadmeFile="$(TablePath)"
+ Branches="@(Branch)"
+ Platforms="@(Platform)" />
+
+ <Message Text="$(MSBuildProjectName) -> $(TablePath)" Importance="High" />
+ </Target>
+</Project>