mirror of
https://github.com/twbs/bootstrap.git
synced 2025-04-06 23:57:36 +02:00
generate CSS banners via Gruntfile; fixes #10101
This commit is contained in:
parent
1f3a87a8a0
commit
2b5d7d23d0
@ -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) {
|
|||||||
|
|
||||||
recess: {
|
recess: {
|
||||||
options: {
|
options: {
|
||||||
compile: true
|
compile: true,
|
||||||
|
banner: '<%= banner %>'
|
||||||
},
|
},
|
||||||
bootstrap: {
|
bootstrap: {
|
||||||
src: ['less/bootstrap.less'],
|
src: ['less/bootstrap.less'],
|
||||||
|
7
dist/css/bootstrap-theme.css
vendored
7
dist/css/bootstrap-theme.css
vendored
@ -1,3 +1,10 @@
|
|||||||
|
/*!
|
||||||
|
* 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,
|
||||||
|
7
dist/css/bootstrap-theme.min.css
vendored
7
dist/css/bootstrap-theme.min.css
vendored
File diff suppressed because one or more lines are too long
15
dist/css/bootstrap.css
vendored
15
dist/css/bootstrap.css
vendored
@ -1,13 +1,10 @@
|
|||||||
/*!
|
/*!
|
||||||
* 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,
|
||||||
|
15
dist/css/bootstrap.min.css
vendored
15
dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
4
dist/js/bootstrap.js
vendored
4
dist/js/bootstrap.js
vendored
@ -1,6 +1,6 @@
|
|||||||
/**
|
/*!
|
||||||
* 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.
|
||||||
|
4
dist/js/bootstrap.min.js
vendored
4
dist/js/bootstrap.min.js
vendored
@ -1,6 +1,6 @@
|
|||||||
/**
|
/*!
|
||||||
* 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.
|
||||||
|
10
less/bootstrap.less
vendored
10
less/bootstrap.less
vendored
@ -1,13 +1,3 @@
|
|||||||
/*!
|
|
||||||
* 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";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user