diff options
author | Supergibbs <jesse.mandel@gmail.com> | 2015-06-25 22:08:03 +0300 |
---|---|---|
committer | Supergibbs <jesse.mandel@gmail.com> | 2015-06-26 02:38:40 +0300 |
commit | 95013f7d6d1963dd23bfbc2e9a8d02ac4ebf5efa (patch) | |
tree | a656f600a9e028116ec25692bfe78abefca6b010 | |
parent | d2d77841184faed52567aa057fd69bcff95021b7 (diff) |
NuGet Support - Added .nuspec files and MyGet.ps1 build script plus
status on README
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | nuget/MyGet.ps1 | 9 | ||||
-rw-r--r-- | nuget/bootstrap.less.nuspec | 28 | ||||
-rw-r--r-- | nuget/bootstrap.nuspec | 28 |
4 files changed, 66 insertions, 0 deletions
@@ -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 index 0000000000..b3d9c8f778 --- /dev/null +++ b/nuget/MyGet.ps1 @@ -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 index 0000000000..72aba82feb --- /dev/null +++ b/nuget/bootstrap.less.nuspec @@ -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 index 0000000000..1dee303bc5 --- /dev/null +++ b/nuget/bootstrap.nuspec @@ -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 |