master
Artem Sapegin 2013-02-25 14:10:24 +04:00
parent cca310a4be
commit 240417698c
4 changed files with 15 additions and 69 deletions

File diff suppressed because one or more lines are too long

2
social-likes.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -9,7 +9,7 @@ module.exports = function(grunt) {
grunt.initConfig({
cmpnt: grunt.file.readJSON('../component.json'),
banner: '/*! Social Likes v<%= cmpnt.version %> by Artem Sapegin - ' +
'http://sapegin.github.com/social-likes - Licensed MIT */',
'http://sapegin.github.com/social-likes - Licensed MIT */\n',
jshint: {
options: {
jshintrc: '.jshintrc'
@ -39,6 +39,15 @@ module.exports = function(grunt) {
}
}
},
csso: {
options: {
banner: '<%= banner %>'
},
dist: {
src: '../social-likes.css',
dest: '../social-likes.css'
}
},
watch: {
stylus: {
files: 'styles/**',
@ -53,6 +62,6 @@ module.exports = function(grunt) {
}
});
grunt.registerTask('default', ['jshint', 'uglify', 'imgo', 'stylus']);
grunt.registerTask('default', ['jshint', 'uglify', 'imgo', 'stylus', 'csso']);
};

View File

@ -8,6 +8,7 @@
"grunt-contrib-watch": "~0.2.0",
"grunt-contrib-stylus": "~0.4.0",
"grunt-imgo": "~0.1.0",
"grunt-csso": "~0.4.1",
"matchdep": "~0.1.1"
}
}