Some nuget configurations
This commit is contained in:
parent
90268e899b
commit
6a3b21bb7b
|
@ -2,8 +2,23 @@
|
|||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>netstandard1.3</TargetFramework>
|
||||
<Version>0.1.0-alpha</Version>
|
||||
<Description>SweetLib IO package</Description>
|
||||
<Authors>Serraniel</Authors>
|
||||
<Company />
|
||||
<Copyright>Copyright © 2017 by Serraniel</Copyright>
|
||||
<PackageLicenseUrl>https://joinup.ec.europa.eu/page/eupl-text-11-12</PackageLicenseUrl>
|
||||
<PackageProjectUrl>https://github.com/Serraniel/SweetLib</PackageProjectUrl>
|
||||
<RepositoryUrl>https://github.com/Serraniel/SweetLib</RepositoryUrl>
|
||||
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
|
||||
<PackageIconUrl>https://github.com/Serraniel/SweetLib/blob/develop/nuget_icon.png?raw=true</PackageIconUrl>
|
||||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
||||
<DocumentationFile>bin\Release\netstandard1.3\SweetLib.IO.xml</DocumentationFile>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\SweetLib\SweetLib.csproj" />
|
||||
</ItemGroup>
|
||||
|
|
18
SweetLib.IO/SweetLib.IO.nuspec
Normal file
18
SweetLib.IO/SweetLib.IO.nuspec
Normal file
|
@ -0,0 +1,18 @@
|
|||
<?xml version="1.0"?>
|
||||
<package >
|
||||
<metadata>
|
||||
<id>$id$</id>
|
||||
<version>$version$-alpha</version>
|
||||
<title>$title$</title>
|
||||
<authors>Serraniel</authors>
|
||||
<owners>$author$</owners>
|
||||
<licenseUrl>https://opensource.org/licenses/GPL-3.0</licenseUrl>
|
||||
<projectUrl>https://github.com/Serraniel/SweetLib</projectUrl>
|
||||
<iconUrl>https://github.com/Serraniel/SweetLib/blob/develop/nuget_icon.png?raw=true</iconUrl>
|
||||
<requireLicenseAcceptance>true</requireLicenseAcceptance>
|
||||
<description>$description$</description>
|
||||
<releaseNotes>First pre version just to try that nuget package thing :)</releaseNotes>
|
||||
<copyright>Copyright © 2017 Serraniel</copyright>
|
||||
<tags>Utility</tags>
|
||||
</metadata>
|
||||
</package>
|
2
SweetLib.IO/build-nuget.bat
Normal file
2
SweetLib.IO/build-nuget.bat
Normal file
|
@ -0,0 +1,2 @@
|
|||
nuget pack SweetLib.IO.csproj -properties Configuration=Release -symbols
|
||||
pause
|
|
@ -12,6 +12,7 @@
|
|||
<RepositoryUrl>https://github.com/Serraniel/SweetLib</RepositoryUrl>
|
||||
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
|
||||
<PackageIconUrl>https://github.com/Serraniel/SweetLib/blob/develop/nuget_icon.png?raw=true</PackageIconUrl>
|
||||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
||||
|
|
Loading…
Reference in a new issue