style / comments
This commit is contained in:
parent
0fa7e5dfee
commit
d44fe92346
@ -1,6 +1,32 @@
|
|||||||
|
/*
|
||||||
|
This file is part of TALER
|
||||||
|
(C) 2015 GNUnet e.V.
|
||||||
|
|
||||||
|
TALER is free software; you can redistribute it and/or modify it under the
|
||||||
|
terms of the GNU General Public License as published by the Free Software
|
||||||
|
Foundation; either version 3, or (at your option) any later version.
|
||||||
|
|
||||||
|
TALER is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||||
|
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License along with
|
||||||
|
TALER; see the file COPYING. If not, If not, see <http://www.gnu.org/licenses/>
|
||||||
|
*/
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Run with
|
||||||
|
* $ gulp <taskname>
|
||||||
|
*
|
||||||
|
* The important tasks are:
|
||||||
|
* - tsconfig: generate tsconfig.json file for
|
||||||
|
* development
|
||||||
|
* - package: create Chrome extension zip file in
|
||||||
|
* _build/.
|
||||||
|
*/
|
||||||
|
|
||||||
const gulp = require("gulp");
|
const gulp = require("gulp");
|
||||||
const map = require("map-stream");
|
const map = require("map-stream");
|
||||||
const ts = require("gulp-typescript");
|
const ts = require("gulp-typescript");
|
||||||
@ -81,6 +107,12 @@ gulp.task("package", ["compile-prod", "dist-prod"], function() {
|
|||||||
.pipe(gulp.dest("_build/"));
|
.pipe(gulp.dest("_build/"));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Generate a tsconfig.json with the
|
||||||
|
* given compiler options that compiles
|
||||||
|
* all files piped into it.
|
||||||
|
*/
|
||||||
function tsconfig(confBase) {
|
function tsconfig(confBase) {
|
||||||
let conf = {
|
let conf = {
|
||||||
compilerOptions: {},
|
compilerOptions: {},
|
||||||
|
Loading…
Reference in New Issue
Block a user