From 36facca685d210380cbb86a481822531d914dee2 Mon Sep 17 00:00:00 2001 From: Peter Donker Date: Mon, 26 Oct 2015 22:59:01 +0100 Subject: [PATCH] Finishing build scripts for release --- gulpfile.js | 14 ++++++++++++-- package.json | 4 +++- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 13c9fc0..ddd4e95 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -64,8 +64,16 @@ gulp.task('packageInstall', ['browserify', 'build'], function() { return merge( merge( gulp.src([ - '**/*.html', - '**/*.resx' + '**/*.resx', + '**/*.html' + ], { + base: '.' + }) + .pipe(dirFilter), + gulp.src([ + '**/*.png', + '**/*.gif', + '**/*.txt' ], { base: '.' }) @@ -104,6 +112,8 @@ gulp.task('packageSource', ['browserify', 'build'], function() { var dirFilter = filter(fileTest); return merge( gulp.src(['**/*.html', + '**/*.png', + '**/*.gif', '**/*.css', 'js/**/*.js', '**/*.??proj', diff --git a/package.json b/package.json index ea98249..4cb4245 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,9 @@ "excludeFilter": [ "node_modules", "bin", - "obj" + "obj", + "_Packages", + "_Installation" ] }, "main": "index.js",