build/grunt script fixes

This commit is contained in:
Torkel Ödegaard 2014-02-10 18:05:52 +01:00
parent a55b9bb8e1
commit 1fada5dd0b
3 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ module.exports = function(grunt) {
grunt.registerTask('build', [
'jshint:source',
'clean:on_start',
'less:dist',
'less:src',
'copy:everything_but_less_to_temp',
'htmlmin:build',
'cssmin:build',

View File

@ -4,7 +4,7 @@ module.exports = function(config) {
everything_but_less_to_temp: {
cwd: '<%= srcDir %>',
expand: true,
src: ['**/*', '!**/*.less'],
src: ['**/*', '!**/*.less', '!config.js'],
dest: '<%= tempDir %>'
}
};

View File

@ -2,7 +2,7 @@ module.exports = function(config) {
return {
dest: {
expand: true,
src: ['**/*.js', '!config.js', '!app/dashboards/*.js', '!app/dashboards/**/*.js',],
src: ['**/*.js', '!config.sample.js', '!app/dashboards/*.js', '!app/dashboards/**/*.js',],
dest: '<%= destDir %>',
cwd: '<%= destDir %>',
options: {