Skip to content

Commit

Permalink
Make sure jsdoc has run before deploy task has run
Browse files Browse the repository at this point in the history
  • Loading branch information
ourmaninamsterdam committed May 7, 2015
1 parent d1069fa commit dfcfcb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ jsDocTask = function() {
);
};

gulp.task('deploy', function() {
gulp.task('deploy', ['jsdoc'], function() {
return gulp.src(docsDestDir + '/**/*')
.pipe(ghPages());
});

gulp.task('default', ['jsdoc']);

gulp.task('build', ['jsdoc', 'deploy']);
gulp.task('build', ['deploy']);

gulp.task('jsdoc', jsDocTask);

Expand Down

0 comments on commit dfcfcb8

Please sign in to comment.