From 3ef3ca66d5a615df53f001331081396ae701c276 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ju=CC=88rg=20Lehni?= Date: Mon, 22 Mar 2021 17:03:39 +0100 Subject: [PATCH] Fix task sequence for docs:typescript --- gulp/tasks/docs.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gulp/tasks/docs.js b/gulp/tasks/docs.js index c8a3e6396c..3c5d387b49 100644 --- a/gulp/tasks/docs.js +++ b/gulp/tasks/docs.js @@ -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/')); @@ -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',