@@ -66,6 +66,28 @@ module.exports = function(grunt) {
66
66
}
67
67
} ,
68
68
69
+ sass : {
70
+ options : {
71
+ outputStyle : 'compressed'
72
+ } ,
73
+ "blue.monday" : {
74
+ options : {
75
+ banner : '/*! Blue Monday Skin for jPlayer <%= pkg.version %> ~ (c) 2009-<%= grunt.template.today("yyyy") %> <%= pkg.organization %> ~ <%= pkg.license %> License */\n'
76
+ } ,
77
+ files : {
78
+ 'dist/skin/blue.monday/jplayer.blue.monday.min.css' : [ 'src/skin/blue.monday/jplayer.blue.monday.scss' ]
79
+ }
80
+ } ,
81
+ "pink.flag" : {
82
+ options : {
83
+ banner : '/*! Pink Flag Skin for jPlayer <%= pkg.version %> ~ (c) 2009-<%= grunt.template.today("yyyy") %> <%= pkg.organization %> ~ <%= pkg.license %> License */\n'
84
+ } ,
85
+ files : {
86
+ 'dist/skin/pink.flag/jplayer.pink.flag.min.css' : [ 'src/skin/pink.flag/jplayer.pink.flag.scss' ]
87
+ }
88
+ }
89
+ } ,
90
+
69
91
jshint : {
70
92
71
93
test : {
@@ -101,12 +123,14 @@ module.exports = function(grunt) {
101
123
grunt . loadNpmTasks ( 'grunt-contrib-jshint' ) ;
102
124
grunt . loadNpmTasks ( 'grunt-contrib-concat' ) ;
103
125
grunt . loadNpmTasks ( 'grunt-contrib-uglify' ) ;
126
+ grunt . loadNpmTasks ( 'grunt-sass' ) ;
104
127
grunt . loadNpmTasks ( 'grunt-mxmlc' ) ;
105
128
106
129
grunt . registerTask ( 'default' , [ 'test' , 'build' ] ) ;
107
130
108
131
grunt . registerTask ( 'test' , [ 'jshint' ] ) ;
109
- grunt . registerTask ( 'build' , [ 'js' , 'swf' ] ) ;
132
+ grunt . registerTask ( 'build' , [ 'js' , 'swf' , 'css' ] ) ;
110
133
grunt . registerTask ( 'js' , [ 'concat' , 'uglify' ] ) ;
111
134
grunt . registerTask ( 'swf' , [ 'mxmlc' ] ) ;
135
+ grunt . registerTask ( 'css' , [ 'sass' ] ) ;
112
136
} ;
0 commit comments