aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-03-18 14:40:35 +0100
committerFlorian Dold <florian.dold@gmail.com>2016-03-18 14:40:35 +0100
commit71f98075682fc46ae7641a1e4462869648e467f1 (patch)
tree11b6041e900d33903d9aaa2865411d54c96ae39c
parent4973197c6ae7e1e5b91844b1e050c95598e0f8f2 (diff)
appdist
-rw-r--r--Makefile3
-rw-r--r--gulpfile.js40
2 files changed, 40 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 23ae8518b..58f5eddcc 100644
--- a/Makefile
+++ b/Makefile
@@ -46,6 +46,9 @@ pogen: $(ts) pogen/pogen.js node_modules
dist:
$(gulp) srcdist
+appdist:
+ $(gulp) appdist
+
lib/i18n-strings.js: $(ts) node_modules
truncate -s0 $@
for lang in $(langs); do \
diff --git a/gulpfile.js b/gulpfile.js
index dfcbca1be..3f50e64e7 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -51,10 +51,10 @@ const paths = {
"content_scripts/*.{ts,tsx}",
"popup/*.{ts,tsx}",
"pages/*.{ts,tsx}",
- "!**/*.d.ts"
+ "!**/*.d.ts",
],
dev: [
- "test/tests/*.{ts,tsx}"
+ "test/tests/*.{ts,tsx}",
],
},
dist: [
@@ -80,6 +80,28 @@ const paths = {
"pogen/tsconfig.json",
"pogen/example/test.ts",
],
+ /* French copyright application */
+ appdist: [
+ "style/*.css",
+ "img/**",
+ "lib/**/*.{ts,tsx}",
+ "!lib/vendor/*",
+ "!**/*.d.ts",
+ "background/*.{ts,tsx}",
+ "content_scripts/*.{ts,tsx}",
+ "popup/*.{ts,tsx}",
+ "pages/*.{ts,tsx}",
+ "AUTHORS",
+ "README",
+ "COPYING",
+ "Makefile",
+ "gulpfile.js",
+ "test/tests/*.{ts,tsx}",
+ "pogen/pogen.ts",
+ "lib/module-trampoline.js",
+ "popup/**/*.{html,css}",
+ "pages/**/*.{html,css}",
+ ],
};
paths.srcdist = [].concat(paths.ts.release,
@@ -168,7 +190,7 @@ gulp.task("package-unstable", ["compile-prod", "dist-prod", "manifest-unstable"]
* Create source distribution.
*/
gulp.task("srcdist", [], function () {
- let zipname = String.prototype.concat("taler-wallet-", manifest.version, "-src.zip");
+ let zipname = String.prototype.concat("taler-wallet-webex", manifest.version, "-src.zip");
return gulp.src(paths.srcdist, {buffer: false, stripBOM: false, base: "."})
.pipe(zip(zipname))
.pipe(gulp.dest("."));
@@ -176,6 +198,18 @@ gulp.task("srcdist", [], function () {
/**
+ * Create source distribution for
+ * French copyright application.
+ */
+gulp.task("appdist", [], function () {
+ let zipname = String.prototype.concat("taler-wallet-webex", manifest.version, "-appsrc.zip");
+ return gulp.src(paths.appdist, {buffer: false, stripBOM: false, base: "."})
+ .pipe(zip(zipname))
+ .pipe(gulp.dest("."));
+});
+
+
+/**
* Compile po extraction script.
*/
gulp.task("pogenjs", [], function () {