Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
# Conflicts:
#	package.json
  • Loading branch information
Wolfr committed Jun 8, 2021
2 parents 2bab309 + 893e75c commit d7f8cc8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions core/paths.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ module.exports = {
js: {
entryFile: path.join(contentPath, 'js/index.js'),
allFiles: path.join(contentPath, 'js/**/*.js'),
separated: path.join(contentPath, 'js/*.js')
},
icons: {
sourceDirectory: path.join(contentPath, 'icons'),
Expand Down
4 changes: 4 additions & 0 deletions core/tasks/copy.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ module.exports = {
return gulp.src(paths.content.assets.resources)
.pipe(gulp.dest(paths.compiled.assets.resources));
},
scripts() {
return gulp.src(paths.content.js.separated)
.pipe(gulp.dest(paths.compiled.js));
},
favicon() {
return gulp.src(paths.content.assets.favicon)
.pipe(gulp.dest(paths.compiled.path));
Expand Down
3 changes: 2 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ gulp.task('copy:images', copy.images);
gulp.task('copy:fonts', copy.fonts);
gulp.task('copy:favicon', copy.favicon);
gulp.task('copy:resources', copy.resources);
gulp.task('copy:scripts', copy.scripts);
gulp.task('copy:compiledToDist', copy.compiledToDist);
gulp.task('bundle', bundle);
gulp.task('icon-font', iconFont);
Expand All @@ -34,7 +35,7 @@ gulp.task('templates:compile', config.styleguide ?
);

gulp.task('watch', watch);
gulp.task('copy', gulp.parallel('copy:images', 'copy:fonts', 'copy:resources', 'copy:favicon'));
gulp.task('copy', gulp.parallel('copy:images', 'copy:fonts', 'copy:resources', 'copy:scripts', 'copy:favicon'));
gulp.task('compile-all', gulp.parallel('templates:clean','icon-font', 'bundle', 'sass', 'copy'));

gulp.task('build', gulp.series('compile-all', 'templates:compile', 'copy:compiledToDist'), function (done) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bedrock",
"version": "1.30.0",
"version": "1.31.0",
"description": "Static site generator to easily make HTML prototypes",
"main": "gulpfile.js",
"scripts": {
Expand Down

1 comment on commit d7f8cc8

@vercel
Copy link

@vercel vercel bot commented on d7f8cc8 Jun 8, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.