mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2025-01-30 19:24:10 +03:00
ensure new line at end of compiled files
This commit is contained in:
parent
518434d6d0
commit
52e073a3c5
70
Gruntfile.js
70
Gruntfile.js
|
@ -130,6 +130,46 @@ module.exports = function(grunt) {
|
|||
}
|
||||
},
|
||||
|
||||
// Ensure new line at end of every file
|
||||
file_append: {
|
||||
materialcss: {
|
||||
files: {
|
||||
"dist/css/material.css": { append: "\n" },
|
||||
"dist/css/material.min.css": { append: "\n" },
|
||||
"dist/css/material.css.map": { append: "\n" },
|
||||
"dist/css/material.min.css.map": { append: "\n" }
|
||||
}
|
||||
},
|
||||
materialwfontcss: {
|
||||
files: {
|
||||
"dist/css/material-wfont.css": { append: "\n" },
|
||||
"dist/css/material-wfont.min.css": { append: "\n" },
|
||||
"dist/css/material-wfont.css.map": { append: "\n" },
|
||||
"dist/css/material-wfont.min.css.map": { append: "\n" }
|
||||
}
|
||||
},
|
||||
ripplescss: {
|
||||
files: {
|
||||
"dist/css/ripples.css": { append: "\n" },
|
||||
"dist/css/ripples.min.css": { append: "\n" },
|
||||
"dist/css/ripples.css.map": { append: "\n" },
|
||||
"dist/css/ripples.min.css.map": { append: "\n" }
|
||||
}
|
||||
},
|
||||
materialjs: {
|
||||
files: {
|
||||
"dist/js/material.min.js": { append: "\n" },
|
||||
"dist/js/material.min.js.map": { append: "\n" }
|
||||
}
|
||||
},
|
||||
ripplesjs: {
|
||||
files: {
|
||||
"dist/js/ripples.min.js": { append: "\n" },
|
||||
"dist/js/ripples.min.js.map": { append: "\n" }
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
connect: {
|
||||
options: {
|
||||
port: 8040,
|
||||
|
@ -208,21 +248,13 @@ module.exports = function(grunt) {
|
|||
]
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
grunt.registerTask("default", ["material", "ripples"]);
|
||||
|
||||
grunt.registerTask("material", [
|
||||
"less:material",
|
||||
"less:materialwfont",
|
||||
"csswring:material",
|
||||
"csswring:materialwfont",
|
||||
"csswring:ripples",
|
||||
"autoprefixer:material",
|
||||
"autoprefixer:materialwfont",
|
||||
"copy:material",
|
||||
"uglify:material"
|
||||
"material:less",
|
||||
"material:js"
|
||||
]);
|
||||
grunt.registerTask("material:less", [
|
||||
"less:material",
|
||||
|
@ -230,7 +262,9 @@ module.exports = function(grunt) {
|
|||
"csswring:material",
|
||||
"csswring:materialwfont",
|
||||
"autoprefixer:material",
|
||||
"autoprefixer:materialwfont"
|
||||
"autoprefixer:materialwfont",
|
||||
"file_append:materialcss",
|
||||
"file_append:materialwfontcss"
|
||||
]);
|
||||
grunt.registerTask("material:js", [
|
||||
"copy:material",
|
||||
|
@ -238,20 +272,20 @@ module.exports = function(grunt) {
|
|||
]);
|
||||
|
||||
grunt.registerTask("ripples", [
|
||||
"less:ripples",
|
||||
"csswring:ripples",
|
||||
"autoprefixer:ripples",
|
||||
"copy:ripples",
|
||||
"uglify:ripples"
|
||||
"ripples:less",
|
||||
"ripples:js",
|
||||
"file_append:ripplescss"
|
||||
]);
|
||||
grunt.registerTask("ripples:less", [
|
||||
"less:ripples",
|
||||
"csswring:ripples",
|
||||
"autoprefixer:ripples"
|
||||
"autoprefixer:ripples",
|
||||
"file_append:materialjs"
|
||||
]);
|
||||
grunt.registerTask("ripples:js", [
|
||||
"copy:ripples",
|
||||
"uglify:ripples"
|
||||
"uglify:ripples",
|
||||
"file_append:ripplesjs"
|
||||
]);
|
||||
|
||||
grunt.registerTask("build", function(target) {
|
||||
|
|
5
dist/css/material-wfont.css
vendored
5
dist/css/material-wfont.css
vendored
|
@ -2311,6 +2311,11 @@ h5,
|
|||
h6 {
|
||||
font-weight: 400;
|
||||
}
|
||||
a,
|
||||
a:hover,
|
||||
a:focus {
|
||||
color: #009587;
|
||||
}
|
||||
body .well,
|
||||
.container .well,
|
||||
.container-fluid .well,
|
||||
|
|
2
dist/css/material-wfont.css.map
vendored
2
dist/css/material-wfont.css.map
vendored
File diff suppressed because one or more lines are too long
2
dist/css/material-wfont.min.css
vendored
2
dist/css/material-wfont.min.css
vendored
File diff suppressed because one or more lines are too long
2
dist/css/material-wfont.min.css.map
vendored
2
dist/css/material-wfont.min.css.map
vendored
File diff suppressed because one or more lines are too long
5
dist/css/material.css
vendored
5
dist/css/material.css
vendored
|
@ -2287,6 +2287,11 @@ h5,
|
|||
h6 {
|
||||
font-weight: 400;
|
||||
}
|
||||
a,
|
||||
a:hover,
|
||||
a:focus {
|
||||
color: #009587;
|
||||
}
|
||||
body .well,
|
||||
.container .well,
|
||||
.container-fluid .well,
|
||||
|
|
2
dist/css/material.css.map
vendored
2
dist/css/material.css.map
vendored
File diff suppressed because one or more lines are too long
2
dist/css/material.min.css
vendored
2
dist/css/material.min.css
vendored
File diff suppressed because one or more lines are too long
2
dist/css/material.min.css.map
vendored
2
dist/css/material.min.css.map
vendored
File diff suppressed because one or more lines are too long
|
@ -23,6 +23,10 @@ h5, h6{
|
|||
font-weight: 400;
|
||||
}
|
||||
|
||||
a, a:hover, a:focus {
|
||||
color: @primary;
|
||||
}
|
||||
|
||||
// Well and Jumbotrons
|
||||
@import "_welljumbo.less";
|
||||
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
"grunt-contrib-uglify": "^0.6.0",
|
||||
"grunt-contrib-watch": "^0.6.1",
|
||||
"grunt-csswring": "^1.1.0",
|
||||
"grunt-file-append": "0.0.5",
|
||||
"grunt-newer": "^0.7.0",
|
||||
"jshint-stylish": "^1.0.0",
|
||||
"load-grunt-tasks": "^0.6.0"
|
||||
|
|
Loading…
Reference in New Issue
Block a user