From aa27d6417221eafc983d0c5cfc13ede3c144f570 Mon Sep 17 00:00:00 2001 From: dtracers Date: Wed, 1 Jun 2016 21:25:13 -0600 Subject: [PATCH] moves all dependencies into the website portion of the codebase --- Gruntfile.js | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 900541d..5c5902c 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -136,18 +136,17 @@ module.exports = function(grunt) { { // copies the website files used in production for prod use expand: true, - src: [ 'src/main/js/**', '!src/test/**', - - // we do not want these copied as they are not meant for production. - '!src/**/debug/**' ], - dest: 'target/website/' + src: [ '**' ], + dest: 'target/website/', + cwd: 'src/main/js' }, { // copies the bower components to target expand: true, - src: [ 'bower_components/protobufjs/**', 'bower_components/bytebuffer/**', 'bower_components/long/**' ], - dest: 'target/website/' - }, + src: [ '**/*.js' ], + dest: 'target/website/', + cwd: 'bower_components' + } ] }, /**