2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00

generate CSS banners via Gruntfile; fixes #10101

This commit is contained in:
Chris Rebert
2013-09-10 19:21:44 -07:00
parent 1f3a87a8a0
commit 2b5d7d23d0
8 changed files with 34 additions and 33 deletions
+3 -2
View File
@@ -8,7 +8,7 @@ module.exports = function(grunt) {
// Metadata.
pkg: grunt.file.readJSON('package.json'),
banner: '/**\n' +
banner: '/*!\n' +
'* Bootstrap v<%= pkg.version %> by @fat and @mdo\n' +
'* Copyright <%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' +
'* Licensed under <%= _.pluck(pkg.licenses, "url").join(", ") %>\n' +
@@ -73,7 +73,8 @@ module.exports = function(grunt) {
recess: {
options: {
compile: true
compile: true,
banner: '<%= banner %>'
},
bootstrap: {
src: ['less/bootstrap.less'],