diff --git a/gulpfile.js b/gulpfile.js index acd25fa..1eb258b 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -19,16 +19,16 @@ 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 ; + 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(); });