[gh-50] Initial attempt at NuGet publish.

This commit is contained in:
Andrey Shchekin 2017-01-02 18:40:41 +13:00
Родитель 3996fce92f
Коммит d8843f0477
5 изменённых файлов: 75 добавлений и 64 удалений

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

@ -1,15 +1,6 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("MirrorSharp")]
[assembly: AssemblyTrademark("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.

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

@ -1,36 +1,45 @@
{
"version": "0.9.0-*",
"dependencies": {
"JetBrains.Annotations": "10.1.5",
"Microsoft.CodeAnalysis.Common": "1.3.2",
"Microsoft.CodeAnalysis.CSharp": "1.3.2",
"Microsoft.CodeAnalysis.VisualBasic": "1.3.2",
"Microsoft.CodeAnalysis.Workspaces.Common": "1.3.2",
"Microsoft.CodeAnalysis.CSharp.Features": "1.3.2",
"Microsoft.CodeAnalysis.VisualBasic.Features": "1.3.2",
"AshMind.Extensions": "2.0.0-pre-20160719",
"System.Buffers": "4.0.0"
},
"frameworks": {
"netstandard1.5": {
"buildOptions": {
"define": ["NETSTANDARD"]
},
"dependencies": {
"System.Net.WebSockets": "4.0.0",
"System.Threading.Tasks": "4.0.11"
},
"imports": [ "dnxcore50", "portable-net45+win8+wp8+wpa81", "portable-net45+win8" ]
},
"net45": {
"frameworkAssemblies": {
"System.ComponentModel.Composition": "4.0.0"
},
"dependencies": {
"System.Threading.Tasks": "4.0.0"
"version": "0.9.0-*",
"authors": [ "Andrey Shchekin" ],
"description": "Shared MirrorSharp server library. MirrorSharp is a minimal-effort Roslyn &lt;textarea&gt; — see <a href='https://github.com/ashmind/mirrorsharp/blob/master/README.md'>README</a> for details.",
"packOptions": {
"projectUrl": "https://github.com/ashmind/mirrorsharp",
"repository": {
"type": "git",
"url": "https://github.com/ashmind/mirrorsharp.git"
}
}
}
},
"dependencies": {
"JetBrains.Annotations": "10.1.5",
"Microsoft.CodeAnalysis.Common": "1.3.2",
"Microsoft.CodeAnalysis.CSharp": "1.3.2",
"Microsoft.CodeAnalysis.VisualBasic": "1.3.2",
"Microsoft.CodeAnalysis.Workspaces.Common": "1.3.2",
"Microsoft.CodeAnalysis.CSharp.Features": "1.3.2",
"Microsoft.CodeAnalysis.VisualBasic.Features": "1.3.2",
"AshMind.Extensions": "2.0.0-pre-20160719",
"System.Buffers": "4.0.0"
},
"frameworks": {
"netstandard1.5": {
"buildOptions": {
"define": [ "NETSTANDARD" ]
},
"dependencies": {
"System.Net.WebSockets": "4.0.0",
"System.Threading.Tasks": "4.0.11"
},
"imports": [ "dnxcore50", "portable-net45+win8+wp8+wpa81", "portable-net45+win8" ]
},
"net45": {
"frameworkAssemblies": {
"System.ComponentModel.Composition": "4.0.0"
},
"dependencies": {
"System.Threading.Tasks": "4.0.0"
}
}
}
}

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

@ -1,13 +1,4 @@
using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("MirrorSharp.Owin")]
[assembly: AssemblyTrademark("")]
using System.Runtime.InteropServices;
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from

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

@ -1,14 +1,23 @@
{
"version": "0.9.0-*",
"version": "0.9.0-*",
"authors": [ "Andrey Shchekin" ],
"description": "MirrorSharp OWIN server. MirrorSharp is a minimal-effort Roslyn &lt;textarea&gt; — see <a href='https://github.com/ashmind/mirrorsharp/blob/master/README.md'>README</a> for details.",
"packOptions": {
"projectUrl": "https://github.com/ashmind/mirrorsharp",
"repository": {
"type": "git",
"url": "https://github.com/ashmind/mirrorsharp.git"
}
},
"dependencies": {
"JetBrains.Annotations": "10.1.5",
"MirrorSharp.Common": "0.9.0-*",
"Owin": "1.0.0",
"AshMind.Extensions": "2.0.0-pre-20160719"
},
"dependencies": {
"JetBrains.Annotations": "10.1.5",
"MirrorSharp.Common": "0.9.0-*",
"Owin": "1.0.0",
"AshMind.Extensions": "2.0.0-pre-20160719"
},
"frameworks": {
"net45": {}
}
"frameworks": {
"net45": {}
}
}

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

@ -8,4 +8,15 @@ build:
verbosity: minimal
test_script:
- cmd: dotnet test MirrorSharp.Tests
- cmd: dotnet test MirrorSharp.Tests
after_build:
- ps: .\dotnet-pack-all.bat
deploy:
- provider: NuGet
on:
branch: master
api_key:
secure: rV20COJkB2Lt/O6E7NvcdMJlHtBS8C7uuUWhFXu6XTPmEVqAeMKCDyz/yuOZwVRo
artifact: /.*\.nupkg/