This adds a build.ps1 that builds all projects in the repo. It also adds props
file that centralizes the version number of the ML.NET package that should be
used. It currently also adds a nuget.config that inlcudes our nightlies so
that we can test against the latest API in case we have to.
This commit is contained in:
Immo Landwerth 2018-06-04 14:56:29 -07:00
Родитель 74f7ac34da
Коммит ea3cc27407
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 1306C4BC9CC6F89F
7 изменённых файлов: 20 добавлений и 4 удалений

1
build.ps1 Normal file
Просмотреть файл

@ -0,0 +1 @@
ls -fi *.sln -rec | % { dotnet build $_.FullName }

Просмотреть файл

@ -0,0 +1,7 @@
<Project>
<PropertyGroup>
<MicrosoftMLVersion>0.2.0-preview-26530-3</MicrosoftMLVersion>
</PropertyGroup>
</Project>

Просмотреть файл

@ -8,7 +8,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.ML" Version="0.1.0" />
<PackageReference Include="Microsoft.ML" Version="$(MicrosoftMLVersion)" />
<PackageReference Include="Octokit" Version="0.29.0" />
<PackageReference Include="System.Configuration.ConfigurationManager" Version="4.5.0-rc1" />
</ItemGroup>

Просмотреть файл

@ -16,7 +16,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.ML" Version="0.2.0-preview-26530-3" />
<PackageReference Include="Microsoft.ML" Version="$(MicrosoftMLVersion)" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -16,7 +16,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.ML" Version="0.2.0-preview-26530-3" />
<PackageReference Include="Microsoft.ML" Version="$(MicrosoftMLVersion)" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -7,7 +7,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.ML" Version="0.2.0-preview-26530-3" />
<PackageReference Include="Microsoft.ML" Version="$(MicrosoftMLVersion)" />
</ItemGroup>
<ItemGroup>

8
samples/nuget.config Normal file
Просмотреть файл

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear/>
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
<add key="Dailies" value="https://dotnet.myget.org/F/dotnet-core/api/v3/index.json" />
</packageSources>
</configuration>