Skip to content

Commit

Permalink
added prepare-publish task
Browse files Browse the repository at this point in the history
  • Loading branch information
gianu committed Dec 31, 2014
1 parent 887ada9 commit e3f3d23
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions bin/publish
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ git fetch 2> /dev/null
git checkout gh-pages
git pull
rm -rf assets
gulp prepare-publish
mv public/* .
git add -A
git commit -m "Site update"
Expand Down
4 changes: 4 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,7 @@ gulp.task('webpack:dev-server', function(callback) {
gulp.task('dev', function(callback) {
runSequence('webpack:build', 'copy-vendor', 'copy-examples', 'webpack:dev-server', callback);
});

gulp.task('prepare-publish', function(callback){
runSequence('webpack:build', 'copy-vendor', 'copy-examples', callback);
});

0 comments on commit e3f3d23

Please sign in to comment.