From 3fda46d5377c13ee7ce4642dc1ea7b665382e15b Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Wed, 6 Jun 2018 14:03:44 +0000 Subject: [PATCH] Reverting to single line --- gulpfile.js | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 1eb258b..81cd709 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -19,18 +19,7 @@ console.log(release_filename); console.log(pm_file_path_full_dist); gulp.task('build', () => { - run('\ - mkdir dist ;\ - cp -ar Koha dist/. ;\ - cp -ar JavaScript dist/. ;\ - sed -i -e "s/{VERSION}/' + package_json.version + '/g" ' + pm_file_path_full_dist + ' ;\ - sed -i -e "s/1900-01-01/${today}/g" ${pm_file_path_full_dist} ;\ - cd dist ;\ - zip -r ../' + release_filename + ' ./Koha ./JavaScript ;\ - cd .. ;\ - rm -rf dist ;\ - ').exec(); - + run('mkdir dist ;cp -ar Koha dist/. ;cp -ar JavaScript dist/. ;sed -i -e "s/{VERSION}/' + package_json.version + '/g" ' + pm_file_path_full_dist + ' ;sed -i -e "s/1900-01-01/${today}/g" ${pm_file_path_full_dist} ;cd dist ;zip -r ../' + release_filename + ' ./Koha ./JavaScript ;cd .. ;rm -rf dist ;').exec(); }); gulp.task('release', () => {