Selaa lähdekoodia

Updated build post processsing to include vendor dir

Torkel Ödegaard 11 vuotta sitten
vanhempi
commit
3bf7f6ed5f
1 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  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');
     }
   });