From 4cf5a31fedd1a2ee22f75a45e07e99ce461bcc3a Mon Sep 17 00:00:00 2001 From: "Jamie.Rees" Date: Fri, 7 Apr 2017 13:56:10 +0100 Subject: [PATCH] update node again... --- Ombi/Ombi/gulpfile.js | 6 +++--- appveyor.yml | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Ombi/Ombi/gulpfile.js b/Ombi/Ombi/gulpfile.js index 57dd86369..3c1037a78 100644 --- a/Ombi/Ombi/gulpfile.js +++ b/Ombi/Ombi/gulpfile.js @@ -153,7 +153,7 @@ gulp.task('npm', function () { streams.push( gulp.src(file) .pipe(gulpif(global.full, sourcemaps.init())) - //.pipe(gulpif(global.full, uglify({ source_map: true }))) + .pipe(gulpif(global.full, uglify({ source_map: true }))) .pipe(rename((path => { path.basename = module }))) .pipe(gulpif(global.full, sourcemaps.write('../maps'))) .pipe(gulp.dest(path.join(paths.wwwroot, paths.npm.dest))) @@ -168,7 +168,7 @@ gulp.task('lib', function () { streams.push( gulp.src(typeof module === "string" ? module : module.file) .pipe(gulpif(global.full, sourcemaps.init())) - //.pipe(gulpif(global.full, uglify({ source_map: true }))) + .pipe(gulpif(global.full, uglify({ source_map: true }))) .pipe(rename(function (path) { if (typeof module !== "string" && module.rename) { path.basename = module.rename; @@ -228,7 +228,7 @@ gulp.task('modules', function () { streams.push( gulp.src(module.src) .pipe(gulpif(global.full, sourcemaps.init())) - // .pipe(gulpif(global.full, uglify({ source_map: true }))) + .pipe(gulpif(global.full, uglify({ source_map: true }))) .pipe(gulpif(global.full, sourcemaps.write(`${module.name ? '.' : ''}./maps/${module.name ? module.name : ''}`))) .pipe(gulp.dest(path.join(paths.wwwroot, module.dest))) ); diff --git a/appveyor.yml b/appveyor.yml index 69f8f561b..5b5808779 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -8,10 +8,9 @@ assembly_info: assembly_file_version: '{version}' assembly_informational_version: '3.0.0' before_build: +- ps: Update-NodeJsInstallation 7.8.0 - cmd: cd ombi/ombi - node --version -- Update-NodeJsInstallation 7.8.0 -- node --version - appveyor-retry dotnet restore - appveyor-retry npm install bower -g - appveyor-retry npm install -g gulp