Skip to content

Commit

Permalink
Added cssmin task
Browse files Browse the repository at this point in the history
  • Loading branch information
thepag committed Dec 14, 2014
1 parent d31b26c commit 9ccb6ff
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
12 changes: 11 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,15 @@ module.exports = function(grunt) {
}
},

cssmin: {
skins: {
files: {
'dist/skin/blue.monday/css/jplayer.blue.monday.min.css': ['dist/skin/blue.monday/css/jplayer.blue.monday.css'],
'dist/skin/pink.flag/css/jplayer.pink.flag.min.css': ['dist/skin/pink.flag/css/jplayer.pink.flag.css']
}
},
},

copy: {
skins: {
files: [
Expand Down Expand Up @@ -133,6 +142,7 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-concat');
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt-contrib-cssmin');
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-sass');
grunt.loadNpmTasks('grunt-mxmlc');
Expand All @@ -143,5 +153,5 @@ module.exports = function(grunt) {
grunt.registerTask('build', ['js', 'swf', 'css']);
grunt.registerTask('js', ['concat', 'uglify']);
grunt.registerTask('swf', ['mxmlc']);
grunt.registerTask('css', ['sass', 'copy:skins']);
grunt.registerTask('css', ['sass', 'cssmin', 'copy:skins']);
};
1 change: 1 addition & 0 deletions dist/skin/blue.monday/css/jplayer.blue.monday.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9ccb6ff

Please sign in to comment.