summaryrefslogtreecommitdiffstats
path: root/tasks/cdn.js
diff options
context:
space:
mode:
authorManolo Carrasco <manolo@apache.org>2015-12-14 14:26:29 +0100
committerManolo Carrasco <manolo@apache.org>2015-12-16 08:43:01 +0100
commite7e5a16f380b5f7e3eeb37a810a43226a2f29740 (patch)
tree5c29fa2b61ac0ce345a3dc7b7751dd660dbee445 /tasks/cdn.js
parent09841fb58cce28d1f6e0a1d3f4f9041e466b0963 (diff)
downloadvaadin-core-e7e5a16f380b5f7e3eeb37a810a43226a2f29740.tar.gz
vaadin-core-e7e5a16f380b5f7e3eeb37a810a43226a2f29740.zip
Rename: elements -> core-elements
Diffstat (limited to 'tasks/cdn.js')
-rw-r--r--tasks/cdn.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/tasks/cdn.js b/tasks/cdn.js
index c1ef345..b290d42 100644
--- a/tasks/cdn.js
+++ b/tasks/cdn.js
@@ -27,8 +27,8 @@ gulp.task('cdn:stage-bower_components', function() {
});
});
-gulp.task('cdn:stage-vaadin-elements', function() {
- return gulp.src(['LICENSE.html', 'README.md', 'vaadin-elements.html', 'demo/*', 'apidoc/*'], {
+gulp.task('cdn:stage-vaadin-core-elements', function() {
+ return gulp.src(['LICENSE.html', 'README.md', 'vaadin-core-elements.html', 'demo/*', 'apidoc/*'], {
base: "."
})
.pipe(modify({
@@ -36,15 +36,15 @@ gulp.task('cdn:stage-vaadin-elements', function() {
if (/README.md/.test(file.path)) {
contents = contents.replace(/\/latest\//mg, '/' + version + '/');
} else {
- contents.replace('https://cdn.vaadin.com/vaadin-elements/latest/', '../../');
+ contents.replace('https://cdn.vaadin.com/vaadin-core-elements/latest/', '../../');
}
return contents;
}
}))
- .pipe(gulp.dest(stagingPath + "/vaadin-elements"));
+ .pipe(gulp.dest(stagingPath + "/vaadin-core-elements"));
});
-gulp.task('stage:cdn', ['clean:cdn', 'cdn:stage-bower_components', 'cdn:stage-vaadin-elements']);
+gulp.task('stage:cdn', ['clean:cdn', 'cdn:stage-bower_components', 'cdn:stage-vaadin-core-elements']);
gulp.task('upload:cdn', ['stage:cdn'], function() {
common.checkArguments(['cdnUsername', 'cdnDestination']);