mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-08 12:42:32 +00:00
Nuspec Updates, thanks Phil!
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<NoWarn>4014, 1998</NoWarn>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="NSubstitute, Version=1.6.1.0, Culture=neutral, PublicKeyToken=92dd2e9066daa5ca, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\packages\NSubstitute.1.7.1.0\lib\NET40\NSubstitute.dll</HintPath>
|
||||
@@ -126,6 +126,12 @@
|
||||
<ItemGroup>
|
||||
<Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Octokit\Octokit-Portable.csproj">
|
||||
<Project>{ddb20481-e17d-4e0a-b2c0-ffff78d4ed71}</Project>
|
||||
<Name>Octokit-Portable</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
|
||||
+13
-4
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
|
||||
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
|
||||
<id>@project@</id>
|
||||
<version>@build.number@</version>
|
||||
<authors>@authors@</authors>
|
||||
@@ -12,11 +12,20 @@
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<description>@description@</description>
|
||||
<releaseNotes>@releaseNotes@</releaseNotes>
|
||||
<copyright>Copyright GitHub 2013</copyright>
|
||||
<copyright>Copyright GitHub 2013</copyright>
|
||||
<tags>GitHub API Octokit</tags>
|
||||
@dependencies@
|
||||
<dependencies>
|
||||
<group>
|
||||
<dependency id="Microsoft.Net.Http" />
|
||||
<dependency id="Microsoft.Bcl.Immutable" />
|
||||
</group>
|
||||
<group targetFramework="net45">
|
||||
</group>
|
||||
<group targetFramework="netcore45">
|
||||
</group>
|
||||
</dependencies>
|
||||
<frameworkAssemblies>
|
||||
<frameworkAssembly assemblyName="System.Net.Http"/>
|
||||
<frameworkAssembly assemblyName="System.Net.Http" targetFramework="net45, netcore45" />
|
||||
</frameworkAssemblies>
|
||||
</metadata>
|
||||
</package>
|
||||
+1
-1
@@ -43,7 +43,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Octokit.Tests.Conventions",
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Octokit-Portable", "Octokit\Octokit-Portable.csproj", "{DDB20481-E17D-4E0A-B2C0-FFFF78D4ED71}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Octokit.Tests-Portable", "Octokit.Tests\Octokit.Tests-Portable\Octokit.Tests-Portable.csproj", "{CBE29DDD-F15C-46CC-A250-E6ECF55BEED4}"
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Octokit.Tests-Portable", "Octokit.Tests\Octokit.Tests-Portable.csproj", "{CBE29DDD-F15C-46CC-A250-E6ECF55BEED4}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
|
||||
@@ -97,10 +97,12 @@ Target "IntegrationTests" (fun _ ->
|
||||
Target "CreateOctokitPackage" (fun _ ->
|
||||
let net45Dir = packagingDir @@ "lib/net45/"
|
||||
let netcore45Dir = packagingDir @@ "lib/netcore45/"
|
||||
CleanDirs [net45Dir; netcore45Dir]
|
||||
let portableDir = packagingDir @@ "lib/portable-net45+wp80+win/"
|
||||
CleanDirs [net45Dir; netcore45Dir; portableDir]
|
||||
|
||||
CopyFile net45Dir (buildDir @@ "Release/Net45/Octokit.dll")
|
||||
CopyFile netcore45Dir (buildDir @@ "Release/NetCore45/Octokit.dll")
|
||||
CopyFile portableDir (buildDir @@ "Release/Portable/Octokit.dll")
|
||||
CopyFiles packagingDir ["LICENSE.txt"; "README.md"; "ReleaseNotes.md"]
|
||||
|
||||
NuGet (fun p ->
|
||||
|
||||
Reference in New Issue
Block a user