Commit e645d51b authored by Mark Otto's avatar Mark Otto

Merge pull request #10565 from twbs/gruntfile-css-banner

generate CSS banners via Gruntfile; fixes #10101
parents 84567af1 2b5d7d23
...@@ -8,7 +8,7 @@ module.exports = function(grunt) { ...@@ -8,7 +8,7 @@ module.exports = function(grunt) {
// Metadata. // Metadata.
pkg: grunt.file.readJSON('package.json'), pkg: grunt.file.readJSON('package.json'),
banner: '/**\n' + banner: '/*!\n' +
'* Bootstrap v<%= pkg.version %> by @fat and @mdo\n' + '* Bootstrap v<%= pkg.version %> by @fat and @mdo\n' +
'* Copyright <%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' + '* Copyright <%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' +
'* Licensed under <%= _.pluck(pkg.licenses, "url").join(", ") %>\n' + '* Licensed under <%= _.pluck(pkg.licenses, "url").join(", ") %>\n' +
...@@ -73,7 +73,8 @@ module.exports = function(grunt) { ...@@ -73,7 +73,8 @@ module.exports = function(grunt) {
recess: { recess: {
options: { options: {
compile: true compile: true,
banner: '<%= banner %>'
}, },
bootstrap: { bootstrap: {
src: ['less/bootstrap.less'], src: ['less/bootstrap.less'],
......
/*!
* Bootstrap v3.0.0 by @fat and @mdo
* Copyright 2013 Twitter, Inc.
* Licensed under http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world by @mdo and @fat.
*/
.btn-default, .btn-default,
.btn-primary, .btn-primary,
.btn-success, .btn-success,
......
This diff is collapsed.
/*! /*!
* Bootstrap v3.0.0 * Bootstrap v3.0.0 by @fat and @mdo
* * Copyright 2013 Twitter, Inc.
* Copyright 2013 Twitter, Inc * Licensed under http://www.apache.org/licenses/LICENSE-2.0
* Licensed under the Apache License v2.0 *
* http://www.apache.org/licenses/LICENSE-2.0 * Designed and built with all the love in the world by @mdo and @fat.
* */
* Designed and built with all the love in the world by @mdo and @fat.
*/
/*! normalize.css v2.1.0 | MIT License | git.io/normalize */ /*! normalize.css v2.1.0 | MIT License | git.io/normalize */
article, article,
......
This source diff could not be displayed because it is too large. You can view the blob instead.
/** /*!
* Bootstrap v3.0.0 by @fat and @mdo * Bootstrap v3.0.0 by @fat and @mdo
* Copyright 2013 Twitter Inc. * Copyright 2013 Twitter, Inc.
* Licensed under http://www.apache.org/licenses/LICENSE-2.0 * Licensed under http://www.apache.org/licenses/LICENSE-2.0
* *
* Designed and built with all the love in the world by @mdo and @fat. * Designed and built with all the love in the world by @mdo and @fat.
......
/** /*!
* Bootstrap v3.0.0 by @fat and @mdo * Bootstrap v3.0.0 by @fat and @mdo
* Copyright 2013 Twitter Inc. * Copyright 2013 Twitter, Inc.
* Licensed under http://www.apache.org/licenses/LICENSE-2.0 * Licensed under http://www.apache.org/licenses/LICENSE-2.0
* *
* Designed and built with all the love in the world by @mdo and @fat. * Designed and built with all the love in the world by @mdo and @fat.
......
/*!
* Bootstrap v3.0.0
*
* Copyright 2013 Twitter, Inc
* Licensed under the Apache License v2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world by @mdo and @fat.
*/
// Core variables and mixins // Core variables and mixins
@import "variables.less"; @import "variables.less";
@import "mixins.less"; @import "mixins.less";
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
, "version": "3.0.0" , "version": "3.0.0"
, "keywords": ["bootstrap", "css"] , "keywords": ["bootstrap", "css"]
, "homepage": "http://twbs.github.com/bootstrap/" , "homepage": "http://twbs.github.com/bootstrap/"
, "author": "Twitter Inc." , "author": "Twitter, Inc."
, "scripts": { "test": "grunt test" } , "scripts": { "test": "grunt test" }
, "repository": { , "repository": {
"type": "git" "type": "git"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment