Skip to content

Commit

Permalink
Reverting to single line
Browse files Browse the repository at this point in the history
  • Loading branch information
kidclamp committed Jun 6, 2018
1 parent ed7cd07 commit 3fda46d
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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', () => {
Expand Down

0 comments on commit 3fda46d

Please sign in to comment.