Skip to content

Commit 3ef3ca6

Browse files
committed
Fix task sequence for docs:typescript
1 parent cbc905d commit 3ef3ca6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gulp/tasks/docs.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ var docOptions = {
2222
server: 'serverdocs' // Generates the website templates for the online docs
2323
};
2424

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

5151
// The goal of the typescript task is to automatically generate a type
5252
// definition for the library.
53-
gulp.task('docs:typescript', function(callback) {
53+
gulp.task('docs:typescript', ['build:full'], function(callback) {
5454
run(
5555
'docs:typescript:clean:before',
5656
'docs:typescript:build',

0 commit comments

Comments
 (0)