From 1195421c79b2d32e1dad7b8f68b2c3b9cd164143 Mon Sep 17 00:00:00 2001 From: liabru Date: Fri, 25 Dec 2015 13:00:18 +0000 Subject: [PATCH] fix issues with build script --- gulpfile.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index bc4b273..c5e00c6 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -17,7 +17,6 @@ var webserver = require('gulp-webserver'); var selenium = require('selenium-standalone'); var ngrok = require('ngrok'); var staticTransform = require('connect-static-transform'); -var privateConfig = require('./test/conf/private.conf.js').config; var pkg = require('./package.json'); var extend = require('util')._extend; var server; @@ -28,7 +27,7 @@ gulp.task('release', function(callback) { }); gulp.task('build', function() { - build = extend(pkg) + var build = extend(pkg); build.version = process.argv[4] || pkg.version; return gulp.src(pkg.main) .pipe(replace("version = 'master'", "version = '" + build.version + "'"))