diff options
Diffstat (limited to 'gulpfile.js')
-rw-r--r-- | gulpfile.js | 40 |
1 files changed, 37 insertions, 3 deletions
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 () { |