Commit 1fada5dd by Torkel Ödegaard

build/grunt script fixes

parent a55b9bb8
...@@ -4,7 +4,7 @@ module.exports = function(grunt) { ...@@ -4,7 +4,7 @@ module.exports = function(grunt) {
grunt.registerTask('build', [ grunt.registerTask('build', [
'jshint:source', 'jshint:source',
'clean:on_start', 'clean:on_start',
'less:dist', 'less:src',
'copy:everything_but_less_to_temp', 'copy:everything_but_less_to_temp',
'htmlmin:build', 'htmlmin:build',
'cssmin:build', 'cssmin:build',
......
...@@ -4,7 +4,7 @@ module.exports = function(config) { ...@@ -4,7 +4,7 @@ module.exports = function(config) {
everything_but_less_to_temp: { everything_but_less_to_temp: {
cwd: '<%= srcDir %>', cwd: '<%= srcDir %>',
expand: true, expand: true,
src: ['**/*', '!**/*.less'], src: ['**/*', '!**/*.less', '!config.js'],
dest: '<%= tempDir %>' dest: '<%= tempDir %>'
} }
}; };
......
...@@ -2,7 +2,7 @@ module.exports = function(config) { ...@@ -2,7 +2,7 @@ module.exports = function(config) {
return { return {
dest: { dest: {
expand: true, 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 %>', dest: '<%= destDir %>',
cwd: '<%= destDir %>', cwd: '<%= destDir %>',
options: { options: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment