Removed temp files and added readme.md to the nuspec

pull/2125/head
Abdulkareem Siddiq 4 years ago
parent c8adfa3e0b
commit 8308dc8ec8

@ -1,39 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/10/nuspec.xsd">
<!--
First meta data information about the package itself.
Documentation can be found at: (or via nuget.org)
https://docs.microsoft.com/en-us/nuget/reference/nuspec#optional-metadata-elements
-->
<metadata>
<!-- required: -->
<id>SiddiqSoft.spdlog</id>
<version>$VERSION$</version>
<authors>Gabi Melman</authors>
<description>Fast C++ logging library</description>
<tags>logging spdlog cpp11 native nativepackage cpp</tags>
<projectUrl>https://github.com/abdulkareem-siddiq/spdlog</projectUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<license type="expression">MIT</license>
<releaseNotes></releaseNotes>
<copyright>Copyright (c) 2016 Gabi Melman</copyright>
<!-- Dependencies -->
<dependencies>
</dependencies>
</metadata>
<!--
Specify the content for your package.
This is only a packing list, no build semantic is defined here!
Stick to conventions described by nuget.org:
https://docs.microsoft.com/en-us/nuget/create-packages/creating-a-package#from-a-convention-based-working-directory
-->
<files>
<!-- includes -->
<file src="..\include\spdlog\**" target="build\native\include\spdlog\" />
<!-- MSBuild .targets files -->
<file src="SiddiqSoft.spdlog.targets" target="build\native" />
</files>
</package>

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemDefinitionGroup>
<ClCompile>
<AdditionalIncludeDirectories>$(MSBuildThisFileDirectory)include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
</ItemDefinitionGroup>
</Project>

@ -1,43 +0,0 @@
trigger:
batch: true
branches:
include:
- main
- v1.x
paths:
exclude:
- README.md
pool:
name: Default
demands:
- msbuild
- visualstudio
- vstest
variables:
buildPlatform: 'x64'
steps:
- task: NuGetToolInstaller@1
displayName: 'Use NuGet 5.10.0'
inputs:
versionSpec: '5.10.0'
checkLatest: true
- task: NuGetCommand@2
displayName: 'NuGet pack'
inputs:
command: 'pack'
packagesToPack: 'nuget/SiddiqSoft.spdlog.nuspec'
versioningScheme: 'off'
buildProperties: 'VERSION=1.9.2'
- task: NuGetCommand@2
displayName: 'NuGet push'
inputs:
command: 'push'
packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.nupkg;!$(Build.ArtifactStagingDirectory)/**/*.symbols.nupkg;build/*.nupkg;!build/*symbols.nupkg'
nuGetFeedType: 'external'
publishFeedCredentials: 'sqs-nuget'
# condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/main'))

@ -16,6 +16,7 @@
<projectUrl>https://github.com/gabime/spdlog</projectUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<license type="expression">MIT</license>
<readme>docs\README.md</readme>
<releaseNotes></releaseNotes>
<copyright>Copyright (c) 2016 Gabi Melman</copyright>
<!-- Dependencies -->
@ -32,7 +33,7 @@
<files>
<!-- includes -->
<file src="..\include\spdlog\**" target="build\native\include\spdlog\" />
<file src="..\README.md" target="docs\" />
<!-- MSBuild .targets files -->
<file src="gabime.spdlog.targets" target="build\native" />
</files>

Loading…
Cancel
Save