diff options
author | Manolo Carrasco <manolo@apache.org> | 2015-09-16 10:38:52 +0200 |
---|---|---|
committer | Manolo Carrasco <manolo@apache.org> | 2015-09-16 10:38:52 +0200 |
commit | 1943e2c1d4b964e64a572eee2515ae402b1e83c8 (patch) | |
tree | 32e27d2804abf4294d98a2d297826e40b0813e28 /tasks | |
parent | 2f2bf9b23580833da78e625bc11f462f98bc3f72 (diff) | |
download | vaadin-core-1943e2c1d4b964e64a572eee2515ae402b1e83c8.tar.gz vaadin-core-1943e2c1d4b964e64a572eee2515ae402b1e83c8.zip |
Fix links so as README works in master and cdn
Diffstat (limited to 'tasks')
-rw-r--r-- | tasks/cdn.js | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/tasks/cdn.js b/tasks/cdn.js index badaff0..481a3c9 100644 --- a/tasks/cdn.js +++ b/tasks/cdn.js @@ -28,14 +28,9 @@ gulp.task('cdn:stage-bower_components', function() { }); }); -gulp.task('cdn:stage-markdown', function() { - return gulp.src(['README.md', 'LICENSE.md']) - .pipe(markdown()) - .pipe(gulp.dest(stagingPath + "/vaadin-components")); -}); - -gulp.task('cdn:stage-vaadin-components', ['cdn:stage-markdown'], function() { - return gulp.src(['vaadin-components.html', 'demo/*', 'apidoc/*'], {base:"."}) +gulp.task('cdn:stage-vaadin-components', function() { + return gulp.src(['README.md', 'LICENSE.html', 'vaadin-components.html', 'demo/*', 'apidoc/*'], {base:"."}) + .pipe(replace('https://cdn.vaadin.com/vaadin-components/0.3.0-snapshot/', '../../')) .pipe(gulp.dest(stagingPath + "/vaadin-components")); }); |