Skip to content

Commit

Permalink
Fix task sequence for docs:typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
lehni committed Mar 22, 2021
1 parent cbc905d commit 3ef3ca6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gulp/tasks/docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var docOptions = {
server: 'serverdocs' // Generates the website templates for the online docs
};

gulp.task('docs', ['docs:local', 'docs:typescript', 'build:full'], function() {
gulp.task('docs', ['build:full', 'docs:local', 'docs:typescript'], function() {
return gulp.src('dist/paper-full.js')
.pipe(rename({ basename: 'paper' }))
.pipe(gulp.dest('dist/docs/assets/js/'));
Expand Down Expand Up @@ -50,7 +50,7 @@ Object.keys(docOptions).forEach(function(name) {

// The goal of the typescript task is to automatically generate a type
// definition for the library.
gulp.task('docs:typescript', function(callback) {
gulp.task('docs:typescript', ['build:full'], function(callback) {
run(
'docs:typescript:clean:before',
'docs:typescript:build',
Expand Down

0 comments on commit 3ef3ca6

Please sign in to comment.