Permalink
Browse files

Add .nuspec for NuGet packaging

  • Loading branch information...
1 parent d0894e8 commit 997db579b4e2ddfc589f1ab6e9897d2788caf4eb @justinyoo justinyoo committed Jul 12, 2016
Showing with 56 additions and 0 deletions.
  1. +3 −0 .gitignore
  2. +4 −0 nuget-build.cmd
  3. +43 −0 summernote.nuspec
  4. +6 −0 tools/NuGet.Config
  5. BIN tools/nuget.exe
View
@@ -22,3 +22,6 @@ coverage/
.idea/
*.iml
+
+# NuGet
+build/
View
@@ -0,0 +1,4 @@
+@echo off
+
+tools\nuget setApiKey <API_KEY> -ConfigFile tools\NuGet.Config
+tools\nuget pack summernote.nuspec -version <VERSION> -OutputDirectory build -Symbols
View
@@ -0,0 +1,43 @@
+<?xml version="1.0"?>
+<package >
+ <metadata>
+ <id>summernote</id>
+ <version>$version$</version>
+ <authors>summernote</authors>
+ <owners>summernote</owners>
+ <licenseUrl>https://github.com/summernote/summernote#license</licenseUrl>
+ <projectUrl>https://github.com/summernote/summernote</projectUrl>
+ <iconUrl>http://summernote.org/img/icons/icon_ios_120x120.png</iconUrl>
+ <requireLicenseAcceptance>true</requireLicenseAcceptance>
+ <summary>
+ Super Simple WYSIWYG Editor on Bootstrap
+ </summary>
+ <description>
+ <![CDATA[
+ Super Simple WYSIWYG Editor on Bootstrap
+ ]]>
+ </description>
+ <releaseNotes>
+ <![CDATA[
+ Bug fix
+
+ * Added fonts on meteor package.
+ ]]>
+ </releaseNotes>
+ <copyright>Copyright 2013</copyright>
+ <tags>summernote, Bootstrap, jQuery, editor, WYSIWYG</tags>
+ <contentFiles>
+ <files include="**/Content/*.*" buildAction="EmbeddedResource" />
+ <files include="**/fonts/*.*" buildAction="EmbeddedResource" />
+ <files include="**/Scripts/*.*" buildAction="EmbeddedResource" />
+ </contentFiles>
+ <dependencies>
+ <dependency id="Twitter.Bootstrap" version="3.0.1" />
+ </dependencies>
+ </metadata>
+ <files>
+ <file src="dist\**\*.css" target="contentFiles\any\any\Content" />
+ <file src="dist\font\*.*" target="contentFiles\any\any\fonts" />
+ <file src="dist\**\*.js" target="contentFiles\any\any\Scripts" />
+ </files>
+</package>
View
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<configuration>
+ <packageSources>
+ <add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
+ </packageSources>
+</configuration>
View
Binary file not shown.

0 comments on commit 997db57

Please sign in to comment.