Browse Source

Updated build post processsing to include vendor dir

Torkel Ödegaard 11 years ago
parent
commit
3bf7f6ed5f
1 changed files with 3 additions and 3 deletions
  1. 3 3
      tasks/build_task.js

+ 3 - 3
tasks/build_task.js

@@ -41,16 +41,16 @@ module.exports = function(grunt) {
         options: { mode: true},
         dest: '<%= tempDir %>'
       });
-      grunt.config('copy.backend_conf', {
+      grunt.config('copy.backend_files', {
         cwd: '../',
         expand: true,
-        src: ['conf/*', '!conf/grafana.dev.ini'],
+        src: ['conf/*', 'vendor/**/*', '!conf/grafana.dev.ini'],
         dest: '<%= tempDir %>'
       });
       grunt.task.run('copy:dist_to_tmp');
       grunt.task.run('clean:dest_dir');
       grunt.task.run('copy:backend_bin');
-      grunt.task.run('copy:backend_conf');
+      grunt.task.run('copy:backend_files');
     }
   });