aboutsummaryrefslogtreecommitdiffstats
path: root/tasks/zip.js
diff options
context:
space:
mode:
Diffstat (limited to 'tasks/zip.js')
-rw-r--r--tasks/zip.js19
1 files changed, 0 insertions, 19 deletions
diff --git a/tasks/zip.js b/tasks/zip.js
deleted file mode 100644
index cc469eb..0000000
--- a/tasks/zip.js
+++ /dev/null
@@ -1,19 +0,0 @@
-var config = require('./config');
-var fs = require('fs-extra');
-var gulp = require('gulp');
-var zip = require('gulp-zip');
-
-var stagingPath = config.paths.staging.zip;
-var version = config.version;
-var filename = 'vaadin-core-elements-' + version + '.zip';
-var majorMinorVersion = version.replace(/(\d+\.\d+)(\.|-)(.*)/, '$1');
-
-gulp.task('clean:zip', function() {
- fs.removeSync(stagingPath);
-});
-
-gulp.task('zip', ['clean:zip', 'stage:cdn'], function() {
- return gulp.src(config.paths.staging.cdn + '/' + version + '/**/*')
- .pipe(zip(filename))
- .pipe(gulp.dest(stagingPath));
-});