mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 12:55:36 +00:00
Improved nuget version information
This commit is contained in:
parent
e1ef842e02
commit
b424673ef0
|
@ -48,22 +48,28 @@
|
|||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<Target Name="Build">
|
||||
|
||||
<!-- Copy built files to the tree format expected by nuget -->
|
||||
<CreateItem Include="../../Binaries/OpenTK/Release/OpenTK*">
|
||||
<Output TaskParameter="Include" ItemName="Binaries" />
|
||||
</CreateItem>
|
||||
<Copy SourceFiles="@(Binaries)" DestinationFolder="./lib/net20" />
|
||||
<!-- Execute nuget script -->
|
||||
<Exec Command="nuget.exe pack OpenTK.nuspec" Condition="$(OS) == 'Windows_NT'" />
|
||||
<Exec Command="mono nuget.exe pack OpenTK.nuspec" Condition="$(OS) != 'Windows_NT'" />
|
||||
<!-- Copy the nuget archive to the root directory and add a date stamp -->
|
||||
|
||||
<!-- Update version information -->
|
||||
<ReadLinesFromFile File="../../Version.txt">
|
||||
<Output TaskParameter="Lines" ItemName="Version" />
|
||||
</ReadLinesFromFile>
|
||||
|
||||
<!-- Execute nuget script -->
|
||||
<Exec Command="nuget.exe pack OpenTK.nuspec -Version @(Version)" Condition="$(OS) == 'Windows_NT'" />
|
||||
<Exec Command="mono nuget.exe pack OpenTK.nuspec -Version @(Version)" Condition="$(OS) != 'Windows_NT'" />
|
||||
|
||||
<!-- Copy the nuget archive to the root directory and add a date stamp -->
|
||||
<CreateItem Include="OpenTK*.nupkg">
|
||||
<Output TaskParameter="Include" ItemName="NugetPackage" />
|
||||
</CreateItem>
|
||||
<Copy SourceFiles="@(NugetPackage)" DestinationFiles="@(Version->'..\..\opentk-%(Identity).nupkg')" />
|
||||
<Copy SourceFiles="@(NugetPackage)" DestinationFolder="../../" />
|
||||
|
||||
</Target>
|
||||
<Target Name="Clean">
|
||||
<CreateItem Include="OpenTK.*.nupkg;lib/**">
|
||||
|
@ -78,4 +84,18 @@
|
|||
<ItemGroup>
|
||||
<None Include="OpenTK.nuspec" />
|
||||
</ItemGroup>
|
||||
<ProjectExtensions>
|
||||
<MonoDevelop>
|
||||
<Properties>
|
||||
<Policies>
|
||||
<TextStylePolicy inheritsSet="VisualStudio" inheritsScope="text/plain" scope="text/plain" />
|
||||
<CSharpFormattingPolicy IndentSwitchBody="True" AnonymousMethodBraceStyle="NextLine" PropertyBraceStyle="NextLine" PropertyGetBraceStyle="NextLine" PropertySetBraceStyle="NextLine" EventBraceStyle="NextLine" EventAddBraceStyle="NextLine" EventRemoveBraceStyle="NextLine" StatementBraceStyle="NextLine" ElseNewLinePlacement="NewLine" CatchNewLinePlacement="NewLine" FinallyNewLinePlacement="NewLine" WhileNewLinePlacement="NewLine" ArrayInitializerBraceStyle="NextLine" BeforeMethodDeclarationParentheses="False" BeforeMethodCallParentheses="False" BeforeConstructorDeclarationParentheses="False" BeforeIndexerDeclarationBracket="False" BeforeDelegateDeclarationParentheses="False" NewParentheses="False" SpacesBeforeBrackets="False" BlankLinesBeforeFirstDeclaration="1" AlignToFirstMethodDeclarationParameter="False" AlignToFirstIndexerDeclarationParameter="False" inheritsSet="Mono" inheritsScope="text/x-csharp" scope="text/x-csharp" />
|
||||
<TextStylePolicy FileWidth="120" inheritsSet="VisualStudio" inheritsScope="text/plain" scope="text/x-csharp" />
|
||||
<StandardHeader Text="#region License

${FileName}
 
Author:
 ${AuthorName} <${AuthorEmail}>

Copyright (c) 2006-${Year} ${CopyrightHolder}

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

#endregion" IncludeInNewFiles="True" />
|
||||
<TextStylePolicy TabWidth="2" IndentWidth="2" NoTabsAfterNonTabs="True" inheritsSet="VisualStudio" inheritsScope="text/plain" scope="application/xml" />
|
||||
<XmlFormattingPolicy inheritsSet="Mono" inheritsScope="application/xml" scope="application/xml" />
|
||||
</Policies>
|
||||
</Properties>
|
||||
</MonoDevelop>
|
||||
</ProjectExtensions>
|
||||
</Project>
|
||||
|
|
|
@ -2,30 +2,38 @@
|
|||
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>OpenTK</id>
|
||||
<version>1.1</version>
|
||||
<version>$version$</version>
|
||||
<authors>Stefanos Apostolopoulos</authors>
|
||||
<owners>Stefanos Apostolopoulos</owners>
|
||||
<licenseUrl>http://www.opentk.com/project/license</licenseUrl>
|
||||
<projectUrl>http://www.opentk.com</projectUrl>
|
||||
<iconUrl>file:///./logo.png</iconUrl>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<description>The Open Toolkit library (OpenTK)</description>
|
||||
<summary>
|
||||
The Open Toolkit library (OpenTK) is an advanced, low-level C# wrapper for OpenGL, OpenGL ES and OpenAL.
|
||||
</summary>
|
||||
<description>
|
||||
The Open Toolkit library (OpenTK) is an advanced, low-level C# wrapper for OpenGL, OpenGL ES and OpenAL.
|
||||
It is suitable for games, scientific visualizations and projects that require 3d graphics, audio or compute functionality.
|
||||
|
||||
OpenTK applications run on Windows, Linux, Mac OS X, Android and iPhone.
|
||||
|
||||
This is the official nuget package from http://www.opentk.com
|
||||
The source code can be found at https://github.com/opentk/opentk
|
||||
</description>
|
||||
<releaseNotes>
|
||||
OpenTK is an open-source C# library that gives you fast low-level access to OpenGL and OpenAL.
|
||||
Use it to create a game or embed accelerated graphics into your WinForms or WPF GUI.
|
||||
|
||||
OpenTK 1.1 adds support for OpenGL 4.4 and OpenGL 3.0, high-DPI (retina) displays
|
||||
and improves platform compatibility through a brand-new SDL2 backend.
|
||||
|
||||
This is the official nuget package for the Open Toolkit library (OpenTK).
|
||||
Visit http://www.opentk.com for more information or https://github.com/opentk/opentk
|
||||
for the source code.
|
||||
http://www.opentk.com/news
|
||||
</releaseNotes>
|
||||
<copyright>Copyright 2006-2013 Stefanos Apostolopoulos</copyright>
|
||||
<tags>OpenTK OpenAL OpenGL C# F# VB OpenTK.dll</tags>
|
||||
<references>
|
||||
<reference file="OpenTK.dll" />
|
||||
</references>
|
||||
<frameworkAssemblies>
|
||||
<frameworkAssembly assemblyName="System" />
|
||||
<frameworkAssembly assemblyName="System.Drawing" />
|
||||
<frameworkAssembly assemblyName="System.Xml" />
|
||||
</frameworkAssemblies>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="lib/net20/OpenTK.dll" target="lib/net20" />
|
||||
|
|
Loading…
Reference in a new issue