Skip to content

Commit

Permalink
Merge pull request syndesisio#193 from syndesisio/pr/fix-gulpfile
Browse files Browse the repository at this point in the history
fix: gulpfile build order and images path
  • Loading branch information
zregvart committed Oct 23, 2020
2 parents b7b69a3 + cf80b53 commit eeea952
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,9 @@ function manual_render(cb) {
.join('\n');
cb(new Error(text));
}
src(`build/documentation/${section}/images/**/*.png`, {
base: `build/documentation/${section}`
}).pipe(dest(`documentation/manual/${section}`));
}
src('build/documentation/images/**/*.png').pipe(dest('documentation/manual'));

Expand All @@ -159,5 +162,5 @@ function manual_render(cb) {

const manual = series(manual_export, manual_render);
const serve = parallel(live, hugo_serve);
exports.build = series(parallel(manual, fonts, css, js, hugo), optimize);
exports.build = series(parallel(manual, fonts, css, js), hugo, optimize);
exports.default = series(parallel(manual, js, css), parallel(hugo_serve, live));

0 comments on commit eeea952

Please sign in to comment.