firefox build: min_version, xpi
This commit is contained in:
parent
7851816f14
commit
d10f6e024d
15
gulpfile.js
15
gulpfile.js
@ -34,6 +34,7 @@ const map = require("map-stream");
|
||||
const zip = require("gulp-zip");
|
||||
const gzip = require("gulp-gzip");
|
||||
const rename = require("gulp-rename");
|
||||
const symlink = require("gulp-sym");
|
||||
const tar = require("gulp-tar");
|
||||
const concat = require("gulp-concat");
|
||||
const ts = require("gulp-typescript");
|
||||
@ -244,17 +245,23 @@ gulp.task("manifest-unstable", ["clean"], function () {
|
||||
|
||||
|
||||
gulp.task("package-stable", ["compile-prod", "dist-prod", "manifest-stable"], function () {
|
||||
let zipname = String.prototype.concat("taler-wallet-stable-", manifest.version_name, "-", manifest.version, ".zip");
|
||||
let basename = String.prototype.concat("taler-wallet-stable-", manifest.version_name, "-", manifest.version);
|
||||
let zipname = basename + ".zip";
|
||||
let xpiname = basename + ".xpi";
|
||||
return gulp.src("build/ext/**", {buffer: false, stripBOM: false})
|
||||
.pipe(zip(zipname))
|
||||
.pipe(gulp.dest("build/"));
|
||||
.pipe(gulp.dest("build/"))
|
||||
.pipe(symlink("build/" + xpiname, {relative: true, force: true}));
|
||||
});
|
||||
|
||||
gulp.task("package-unstable", ["compile-prod", "dist-prod", "manifest-unstable"], function () {
|
||||
let zipname = String.prototype.concat("taler-wallet-unstable-", manifest.version_name, "-", manifest.version, ".zip");
|
||||
let basename = String.prototype.concat("taler-wallet-unstable-", manifest.version_name, "-", manifest.version);
|
||||
let zipname = basename + ".zip";
|
||||
let xpiname = basename + ".xpi";
|
||||
return gulp.src("build/ext/**", {buffer: false, stripBOM: false})
|
||||
.pipe(zip(zipname))
|
||||
.pipe(gulp.dest("build/"));
|
||||
.pipe(gulp.dest("build/"))
|
||||
.pipe(symlink("build/" + xpiname, {relative: true, force: true}));
|
||||
});
|
||||
|
||||
|
||||
|
@ -5,9 +5,12 @@
|
||||
"version": "0.6.14",
|
||||
"version_name": "0.0.1-pre8",
|
||||
|
||||
"minimum_chrome_version": "49",
|
||||
|
||||
"applications": {
|
||||
"gecko": {
|
||||
"id": "devs@taler.net"
|
||||
"id": "devs@taler.net",
|
||||
"strict_min_version": "50.*"
|
||||
}
|
||||
},
|
||||
|
||||
@ -45,7 +48,5 @@
|
||||
|
||||
"background": {
|
||||
"page": "background/background.html"
|
||||
},
|
||||
|
||||
"minimum_chrome_version": "49"
|
||||
}
|
||||
}
|
||||
|
@ -24,6 +24,7 @@
|
||||
"gulp-json-transform": "^0.4.2",
|
||||
"gulp-rename": "^1.2.2",
|
||||
"gulp-stream": "0.0.2",
|
||||
"gulp-sym": "0.0.14",
|
||||
"gulp-tar": "^1.8.0",
|
||||
"gulp-typescript": "^3.0.2",
|
||||
"gulp-zip": "^3.1.0",
|
||||
|
Loading…
Reference in New Issue
Block a user