diff options
author | Manolo Carrasco <manolo@apache.org> | 2015-09-14 18:59:00 +0200 |
---|---|---|
committer | Manolo Carrasco <manolo@apache.org> | 2015-09-14 18:59:00 +0200 |
commit | a0ec6e58b40bcb937a24f86c49405f9fb5f912dc (patch) | |
tree | e973d2cc9e843a440d8332e053b52b7788e738dc /tasks | |
parent | bb449f26f3619dee1e58a36986238e46f2c16de6 (diff) | |
download | vaadin-core-a0ec6e58b40bcb937a24f86c49405f9fb5f912dc.tar.gz vaadin-core-a0ec6e58b40bcb937a24f86c49405f9fb5f912dc.zip |
Adding apidoc component
Diffstat (limited to 'tasks')
-rw-r--r-- | tasks/cdn.js | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/tasks/cdn.js b/tasks/cdn.js index e5aaeed..badaff0 100644 --- a/tasks/cdn.js +++ b/tasks/cdn.js @@ -28,15 +28,18 @@ gulp.task('cdn:stage-bower_components', function() { }); }); -gulp.task('cdn:stage-vaadin-components', ['clean:cdn'], function() { - return gulp.src(['README.md', 'LICENSE.md', 'vaadin-components.html']) +gulp.task('cdn:stage-markdown', function() { + return gulp.src(['README.md', 'LICENSE.md']) .pipe(markdown()) .pipe(gulp.dest(stagingPath + "/vaadin-components")); }); -gulp.task('stage:cdn', - ['cdn:stage-bower_components', - 'cdn:stage-vaadin-components']); +gulp.task('cdn:stage-vaadin-components', ['cdn:stage-markdown'], function() { + return gulp.src(['vaadin-components.html', 'demo/*', 'apidoc/*'], {base:"."}) + .pipe(gulp.dest(stagingPath + "/vaadin-components")); +}); + +gulp.task('stage:cdn', [ 'clean:cdn', 'cdn:stage-bower_components', 'cdn:stage-vaadin-components' ]); gulp.task('deploy:cdn', ['stage:cdn'], function() { common.checkArguments(['cdnUsername', 'cdnDestination']); |