2018-09-28 13:43:58 +03:00
|
|
|
const gulp = require("gulp");
|
|
|
|
const zip = require("gulp-zip");
|
|
|
|
|
|
|
|
const version = require("./package.json").version;
|
|
|
|
const zipFileName = `azurestoragejs.blob-${version}.zip`;
|
|
|
|
|
2018-11-26 10:07:29 +03:00
|
|
|
gulp.task("zip", async () => {
|
2018-09-28 13:43:58 +03:00
|
|
|
gulp
|
|
|
|
.src([
|
|
|
|
"browser/azure-storage.blob.js",
|
|
|
|
"browser/azure-storage.blob.min.js",
|
|
|
|
"browser/*.txt"
|
|
|
|
])
|
|
|
|
.pipe(zip(zipFileName))
|
|
|
|
.pipe(gulp.dest("browser"));
|
|
|
|
});
|