Browse Source

updates gruntfile for theme paths

pull/636/head
jlukic 11 years ago
parent
commit
63ba7b0459
1 changed files with 8 additions and 13 deletions
  1. 21
      Gruntfile.js

21
Gruntfile.js

@ -174,6 +174,7 @@ module.exports = function(grunt) {
'build/examples/**/*', 'build/examples/**/*',
'src/**/*.less', 'src/**/*.less',
'src/**/*.variables', 'src/**/*.variables',
'src/**/*.config',
'src/**/*.js' 'src/**/*.js'
], ],
tasks : watchTasks tasks : watchTasks
@ -327,8 +328,7 @@ module.exports = function(grunt) {
cwd : 'src/', cwd : 'src/',
src : [ src : [
'**/*.js', '**/*.js',
'images/*',
'fonts/*'
'theme/**/*'
], ],
dest : 'docs/build/uncompressed' dest : 'docs/build/uncompressed'
}, },
@ -337,8 +337,7 @@ module.exports = function(grunt) {
expand : true, expand : true,
cwd : 'src/', cwd : 'src/',
src : [ src : [
'images/*',
'fonts/*'
'theme/**/*'
], ],
dest : 'docs/build/minified' dest : 'docs/build/minified'
}, },
@ -348,8 +347,7 @@ module.exports = function(grunt) {
expand : true, expand : true,
cwd : 'src/', cwd : 'src/',
src : [ src : [
'images/*',
'fonts/*'
'theme/**/*'
], ],
dest : 'docs/build/packaged' dest : 'docs/build/packaged'
} }
@ -374,8 +372,7 @@ module.exports = function(grunt) {
cwd : 'src/', cwd : 'src/',
src : [ src : [
'**/*.js', '**/*.js',
'images/*',
'fonts/*'
'theme/**/*'
], ],
dest : 'build/uncompressed' dest : 'build/uncompressed'
}, },
@ -384,8 +381,7 @@ module.exports = function(grunt) {
expand : true, expand : true,
cwd : 'src/', cwd : 'src/',
src : [ src : [
'images/*',
'fonts/*'
'theme/**/*'
], ],
dest : 'build/minified' dest : 'build/minified'
}, },
@ -395,8 +391,7 @@ module.exports = function(grunt) {
expand : true, expand : true,
cwd : 'src/', cwd : 'src/',
src : [ src : [
'images/*',
'fonts/*'
'theme/**/*'
], ],
dest : 'build/packaged' dest : 'build/packaged'
} }
@ -610,7 +605,7 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-karma'); grunt.loadNpmTasks('grunt-karma');
grunt.initConfig(config); grunt.initConfig(config);
grunt.registerTask('default', defaultTasks); grunt.registerTask('default', defaultTasks);
grunt.registerTask('test', testTasks); grunt.registerTask('test', testTasks);

Loading…
Cancel
Save