Added project
This commit is contained in:
Родитель
00f750c691
Коммит
b8bca5788e
|
@ -0,0 +1,25 @@
|
|||
image: Visual Studio 2017
|
||||
configuration: Release
|
||||
platform: Any CPU
|
||||
|
||||
before_build:
|
||||
- cmd: dotnet restore
|
||||
|
||||
build:
|
||||
project: container.sln
|
||||
parallel: true
|
||||
verbosity: minimal
|
||||
|
||||
before_test:
|
||||
- choco install opencover.portable
|
||||
- choco install codecov
|
||||
|
||||
test_script:
|
||||
- OpenCover.Console.exe -register:user -target:"C:\Program Files\dotnet\dotnet.exe" -targetargs:"test"
|
||||
|
||||
after_test:
|
||||
- codecov -f "results.xml"
|
||||
|
||||
artifacts:
|
||||
- path: '**\Unity.*.nupkg'
|
||||
name: 'Unity'
|
|
@ -0,0 +1,4 @@
|
|||
ignore:
|
||||
- "tests/*" # Ignore tests
|
||||
- "src/Utility/*" # Ignore utilities
|
||||
- "**/*.Designer.cs" # Ignore generated code
|
|
@ -0,0 +1,29 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>netstandard1.0;net47;net45;net40</TargetFrameworks>
|
||||
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
|
||||
<PackageId>Unity.Abstractions</PackageId>
|
||||
<Description>Unity Public Abstractions</Description>
|
||||
<Version>1.0.0-beta</Version>
|
||||
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||
<FileVersion>1.0.0.0</FileVersion>
|
||||
<Copyright>Copyright © Microsoft.Practices.Unity 2017</Copyright>
|
||||
<PackageProjectUrl>https://github.com/unitycontainer</PackageProjectUrl>
|
||||
<RepositoryUrl>https://github.com/unitycontainer/abstractions</RepositoryUrl>
|
||||
<PackageLicenseUrl>https://github.com/unitycontainer/abstractions/blob/master/LICENSE</PackageLicenseUrl>
|
||||
<PackageIconUrl>https://avatars1.githubusercontent.com/u/12849707</PackageIconUrl>
|
||||
<RepositoryType>git</RepositoryType>
|
||||
<PackageReleaseNotes>This package is distributed as .NET Standard 1.0 package.</PackageReleaseNotes>
|
||||
<Authors>Microsoft.Practices.Unity</Authors>
|
||||
<Company>Microsoft.Practices.Unity</Company>
|
||||
<RootNamespace>Unity</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="Exists('..\..\package.snk')">
|
||||
<SignAssembly>true</SignAssembly>
|
||||
<AssemblyOriginatorKeyFile>..\..\package.snk</AssemblyOriginatorKeyFile>
|
||||
<DelaySign>false</DelaySign>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
Загрузка…
Ссылка в новой задаче