Skip to content

Commit

Permalink
Deploy the images.
Browse files Browse the repository at this point in the history
  • Loading branch information
David committed Jul 4, 2015
1 parent c5f3996 commit a20af1a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@
return gulp.src('solarwatt/index.html')
.pipe(gulp.dest('public'));
});
gulp.task('images', function() {
return gulp.src('images/**')
.pipe(gulp.dest('public/images'));
});
gulp.task('favicon', function() {
return gulp.src('favicon.ico')
.pipe(gulp.dest('public'));
Expand Down Expand Up @@ -127,7 +131,7 @@
gulp.watch(['public/**']).on('change', livereload.changed);
gulp.watch(['views/**']).on('change', livereload.changed);
});
gulp.task('build', ['vendor_components', 'scripts', 'template_cache', 'pages']);
gulp.task('build', ['vendor_components', 'scripts', 'template_cache', 'pages', 'images']);
gulp.task('default', ['watch', 'build', 'server']);
return gulp;
})();

0 comments on commit a20af1a

Please sign in to comment.