summaryrefslogtreecommitdiff
path: root/ApacheThrift.nuspec
diff options
context:
space:
mode:
authorJames E. King III <jking@apache.org>2019-01-01 19:28:23 -0500
committerJames E. King III <jking@apache.org>2019-01-02 07:54:43 -0500
commit4c71660dab62f2ac08ab7d81b41053fdaf2cdeb9 (patch)
treeff57d57744d1cc8d606ad8df9994456f5b836a29 /ApacheThrift.nuspec
parent0e99ee31ba25ee0b2b8eecea44b7208318cf3f56 (diff)
downloadthrift-4c71660dab62f2ac08ab7d81b41053fdaf2cdeb9.tar.gz
THRIFT-4705: add nuget configuration file
Diffstat (limited to 'ApacheThrift.nuspec')
-rw-r--r--ApacheThrift.nuspec50
1 files changed, 50 insertions, 0 deletions
diff --git a/ApacheThrift.nuspec b/ApacheThrift.nuspec
new file mode 100644
index 000000000..54ed2c64a
--- /dev/null
+++ b/ApacheThrift.nuspec
@@ -0,0 +1,50 @@
+<?xml version="1.0"?>
+
+<!--
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+ Instructions for building a nuget package:
+
+ 1. Open Thrift.sln in lib\csharp\src and build the release version
+ of the "Thrift" and "Thrift.45" projects.
+ 2. Open Thrift.sln in lib\netcore and build the release version of
+ the "Thrift" project.
+ 3. nuget setApiKey <your-api-key>
+ 3. nuget pack ApacheThrift.nuspec -Symbols -SymbolPackageFormat snupkg
+ 4. nuget push ApacheThrift.1.0.0.nupkg -Source https://api.nuget.org/v3/index.json
+ -->
+
+<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
+ <metadata>
+ <id>ApacheThrift</id>
+ <version>1.0.0</version>
+ <title>Apache Thrift 1.0.0</title>
+ <authors>Apache Thrift Developers</authors>
+ <owners>Apache Software Foundation</owners>
+ <license type="expression">Apache-2.0</license>
+ <projectUrl>http://thrift.apache.org/</projectUrl>
+ <requireLicenseAcceptance>true</requireLicenseAcceptance>
+ <summary>Apache Thrift .NET Library</summary>
+ <description>
+ Contains runtime libraries from lib/csharp for net35 and net45 frameworks,
+ and from lib/netcore for netstandard2.0 framework development.
+ </description>
+ <repository type="GitHub" url="https://github.com/apache/thrift" branch="release/1.0.0" />
+ <tags>Apache Thrift RPC</tags>
+ </metadata>
+ <files>
+ <file src="lib\csharp\src\bin\Release\Thrift.*" target="lib\net35" />
+ <file src="lib\csharp\src\bin\Release\Thrift45.*" target="lib\net45" />
+ <file src="lib\netcore\Thrift\bin\Release\netstandard2.0\*.*" target="lib\netstandard2.0" />
+ </files>
+</package> \ No newline at end of file