From 95013f7d6d1963dd23bfbc2e9a8d02ac4ebf5efa Mon Sep 17 00:00:00 2001 From: Supergibbs Date: Thu, 25 Jun 2015 12:08:03 -0700 Subject: [PATCH 1/4] NuGet Support - Added .nuspec files and MyGet.ps1 build script plus status on README --- README.md | 1 + nuget/MyGet.ps1 | 9 +++++++++ nuget/bootstrap.less.nuspec | 28 ++++++++++++++++++++++++++++ nuget/bootstrap.nuspec | 28 ++++++++++++++++++++++++++++ 4 files changed, 66 insertions(+) create mode 100644 nuget/MyGet.ps1 create mode 100644 nuget/bootstrap.less.nuspec create mode 100644 nuget/bootstrap.nuspec diff --git a/README.md b/README.md index e96d1127f7..70d7b61de3 100644 --- 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 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 @@ + + + + bootstrap.less + 3.3 + Bootstrap LESS + Mark Otto,Jacob Thornton + bootstrap + The most popular front-end framework for developing responsive, mobile first projects on the web. + http://blog.getbootstrap.com + Bootstrap framework in LESS. Includes fonts and javascript + en-us + http://getbootstrap.com + http://getbootstrap.com/apple-touch-icon.png + https://github.com/twbs/bootstrap/blob/master/LICENSE + Copyright 2015 + false + + + + css js less mobile-first responsive front-end framework web + + + + + + + \ 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 @@ + + + + bootstrap + 3.3 + Bootstrap CSS + Mark Otto,Jacob Thornton + bootstrap + The most popular front-end framework for developing responsive, mobile first projects on the web. + http://blog.getbootstrap.com + Bootstrap framework in CSS. Includes fonts and javascript + en-us + http://getbootstrap.com + http://getbootstrap.com/apple-touch-icon.png + https://github.com/twbs/bootstrap/blob/master/LICENSE + Copyright 2015 + false + + + + css js less mobile-first responsive front-end framework web + + + + + + + \ No newline at end of file From 2e59d177aab3c80a27bca60f5c312b87b325f454 Mon Sep 17 00:00:00 2001 From: Supergibbs Date: Fri, 26 Jun 2015 09:15:12 -0700 Subject: [PATCH 2/4] Cleaner version parsing Changed LESS to Less and author to Twitter, Inc. --- nuget/MyGet.ps1 | 5 ++--- nuget/bootstrap.less.nuspec | 6 +++--- nuget/bootstrap.nuspec | 4 ++-- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/nuget/MyGet.ps1 b/nuget/MyGet.ps1 index b3d9c8f778..ad17dea91f 100644 --- a/nuget/MyGet.ps1 +++ b/nuget/MyGet.ps1 @@ -1,8 +1,7 @@ $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] +#parse the version number out of package.json +$bsversion = ((Get-Content $env:SourcesPath\package.json) -join "`n" | ConvertFrom-Json).version #create packages & $nuget pack "nuget\bootstrap.nuspec" -Verbosity detailed -NonInteractive -NoPackageAnalysis -BasePath $env:SourcesPath -Version $bsversion diff --git a/nuget/bootstrap.less.nuspec b/nuget/bootstrap.less.nuspec index 72aba82feb..7d69099f3a 100644 --- a/nuget/bootstrap.less.nuspec +++ b/nuget/bootstrap.less.nuspec @@ -3,12 +3,12 @@ bootstrap.less 3.3 - Bootstrap LESS - Mark Otto,Jacob Thornton + Bootstrap Less + Twitter, Inc. bootstrap The most popular front-end framework for developing responsive, mobile first projects on the web. http://blog.getbootstrap.com - Bootstrap framework in LESS. Includes fonts and javascript + Bootstrap framework in Less. Includes fonts and JavaScript en-us http://getbootstrap.com http://getbootstrap.com/apple-touch-icon.png diff --git a/nuget/bootstrap.nuspec b/nuget/bootstrap.nuspec index 1dee303bc5..3f1e211f84 100644 --- a/nuget/bootstrap.nuspec +++ b/nuget/bootstrap.nuspec @@ -4,11 +4,11 @@ bootstrap 3.3 Bootstrap CSS - Mark Otto,Jacob Thornton + Twitter, Inc. bootstrap The most popular front-end framework for developing responsive, mobile first projects on the web. http://blog.getbootstrap.com - Bootstrap framework in CSS. Includes fonts and javascript + Bootstrap framework in CSS. Includes fonts and JavaScript en-us http://getbootstrap.com http://getbootstrap.com/apple-touch-icon.png From 86997512ce11d30ec296c6310c74c49ef3300053 Mon Sep 17 00:00:00 2001 From: Supergibbs Date: Thu, 20 Aug 2015 09:30:30 -0700 Subject: [PATCH 3/4] Changed to only include only *.less files (to match NPM/Bower) --- nuget/bootstrap.less.nuspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nuget/bootstrap.less.nuspec b/nuget/bootstrap.less.nuspec index 7d69099f3a..85134ef499 100644 --- a/nuget/bootstrap.less.nuspec +++ b/nuget/bootstrap.less.nuspec @@ -21,7 +21,7 @@ css js less mobile-first responsive front-end framework web - + From 9d2bb0faa7f2e1f1018b57673977e4e97c24fca7 Mon Sep 17 00:00:00 2001 From: Supergibbs Date: Tue, 1 Sep 2015 17:08:25 -0700 Subject: [PATCH 4/4] Updated NuGet jQuery dependency (>= 1.9.1 but < 3) to match https://github.com/twbs/bootstrap/pull/16896 --- nuget/bootstrap.less.nuspec | 2 +- nuget/bootstrap.nuspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nuget/bootstrap.less.nuspec b/nuget/bootstrap.less.nuspec index 85134ef499..ec302c0e91 100644 --- a/nuget/bootstrap.less.nuspec +++ b/nuget/bootstrap.less.nuspec @@ -16,7 +16,7 @@ Copyright 2015 false - + css js less mobile-first responsive front-end framework web diff --git a/nuget/bootstrap.nuspec b/nuget/bootstrap.nuspec index 3f1e211f84..50557cc532 100644 --- a/nuget/bootstrap.nuspec +++ b/nuget/bootstrap.nuspec @@ -16,7 +16,7 @@ Copyright 2015 false - + css js less mobile-first responsive front-end framework web