]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
NuGet Support - Added .nuspec files and MyGet.ps1 build script plus
authorSupergibbs <jesse.mandel@gmail.com>
Thu, 25 Jun 2015 19:08:03 +0000 (12:08 -0700)
committerSupergibbs <jesse.mandel@gmail.com>
Thu, 25 Jun 2015 23:38:40 +0000 (16:38 -0700)
status on README

README.md
nuget/MyGet.ps1 [new file with mode: 0644]
nuget/bootstrap.less.nuspec [new file with mode: 0644]
nuget/bootstrap.nuspec [new file with mode: 0644]

index e96d1127f7117bee875036d88b1f88b8b4dbd541..70d7b61de36191e55bfc3eaf4ce805b10879cc4e 100644 (file)
--- a/README.md
+++ b/README.md
@@ -5,6 +5,7 @@
 [![Build Status](https://img.shields.io/travis/twbs/bootstrap/master.svg)](https://travis-ci.org/twbs/bootstrap)
 [![devDependency Status](https://img.shields.io/david/dev/twbs/bootstrap.svg)](https://david-dm.org/twbs/bootstrap#info=devDependencies)
 [![Selenium Test Status](https://saucelabs.com/browser-matrix/bootstrap.svg)](https://saucelabs.com/u/bootstrap)
+[![getbootstrap MyGet Build Status](https://www.myget.org/BuildSource/Badge/getbootstrap?identifier=b693c550-a98a-477e-b487-e339de16c1e3)](https://www.myget.org/)
 
 Bootstrap is a sleek, intuitive, and powerful front-end framework for faster and easier web development, created by [Mark Otto](https://twitter.com/mdo) and [Jacob Thornton](https://twitter.com/fat), and maintained by the [core team](https://github.com/orgs/twbs/people) with the massive support and involvement of the community.
 
diff --git a/nuget/MyGet.ps1 b/nuget/MyGet.ps1
new file mode 100644 (file)
index 0000000..b3d9c8f
--- /dev/null
@@ -0,0 +1,9 @@
+$nuget = $env:NuGet
+
+#parse the version number out of the Jekyll _config.yml
+$yaml = (Select-String $env:SourcesPath\_config.yml -pattern "current_version").ToString().Split(" ");
+$bsversion = $yaml[$yaml.Length - 1]
+
+#create packages
+& $nuget pack "nuget\bootstrap.nuspec" -Verbosity detailed -NonInteractive -NoPackageAnalysis -BasePath $env:SourcesPath -Version $bsversion
+& $nuget pack "nuget\bootstrap.less.nuspec" -Verbosity detailed -NonInteractive -NoPackageAnalysis -BasePath $env:SourcesPath -Version $bsversion
\ No newline at end of file
diff --git a/nuget/bootstrap.less.nuspec b/nuget/bootstrap.less.nuspec
new file mode 100644 (file)
index 0000000..72aba82
--- /dev/null
@@ -0,0 +1,28 @@
+<?xml version="1.0"?>
+<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
+  <metadata>
+    <id>bootstrap.less</id>
+    <version>3.3</version>
+    <title>Bootstrap LESS</title>
+    <authors>Mark Otto,Jacob Thornton</authors>
+    <owners>bootstrap</owners>
+       <description>The most popular front-end framework for developing responsive, mobile first projects on the web.</description>
+    <releaseNotes>http://blog.getbootstrap.com</releaseNotes>
+       <summary>Bootstrap framework in LESS. Includes fonts and javascript</summary>
+       <language>en-us</language>
+       <projectUrl>http://getbootstrap.com</projectUrl>
+    <iconUrl>http://getbootstrap.com/apple-touch-icon.png</iconUrl>
+       <licenseUrl>https://github.com/twbs/bootstrap/blob/master/LICENSE</licenseUrl>
+    <copyright>Copyright 2015</copyright>
+    <requireLicenseAcceptance>false</requireLicenseAcceptance>
+    <dependencies>
+      <dependency id="jQuery" version="1.9.1" />
+    </dependencies>
+       <tags>css js less mobile-first responsive front-end framework web</tags>
+  </metadata>
+  <files>
+    <file src="less\**\*.*" target="content\Content\bootstrap" />
+    <file src="fonts\*.*" target="content\Content\fonts" />
+    <file src="dist\js\bootstrap*.js" target="content\Scripts" />
+  </files>
+</package>
\ No newline at end of file
diff --git a/nuget/bootstrap.nuspec b/nuget/bootstrap.nuspec
new file mode 100644 (file)
index 0000000..1dee303
--- /dev/null
@@ -0,0 +1,28 @@
+<?xml version="1.0"?>
+<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
+  <metadata>
+    <id>bootstrap</id>
+    <version>3.3</version>
+    <title>Bootstrap CSS</title>
+    <authors>Mark Otto,Jacob Thornton</authors>
+    <owners>bootstrap</owners>
+       <description>The most popular front-end framework for developing responsive, mobile first projects on the web.</description>
+       <releaseNotes>http://blog.getbootstrap.com</releaseNotes>
+       <summary>Bootstrap framework in CSS. Includes fonts and javascript</summary>
+       <language>en-us</language>
+       <projectUrl>http://getbootstrap.com</projectUrl>
+    <iconUrl>http://getbootstrap.com/apple-touch-icon.png</iconUrl>
+       <licenseUrl>https://github.com/twbs/bootstrap/blob/master/LICENSE</licenseUrl>
+    <copyright>Copyright 2015</copyright>
+    <requireLicenseAcceptance>false</requireLicenseAcceptance>
+    <dependencies>
+      <dependency id="jQuery" version="1.9.1" />
+    </dependencies>
+       <tags>css js less mobile-first responsive front-end framework web</tags>
+  </metadata>
+  <files>
+    <file src="dist\css\*.*" target="content\Content" />
+    <file src="dist\fonts\*.*" target="content\fonts" />
+    <file src="dist\js\bootstrap*.js" target="content\Scripts" />
+  </files>
+</package>
\ No newline at end of file