mirror of https://github.com/grpc/grpc-node.git
slight gulpfile changes (#16)
This commit is contained in:
parent
7de87642fe
commit
0774aafb01
|
|
@ -4,7 +4,7 @@ const help = require('gulp-help');
|
||||||
// gulp-help monkeypatches tasks to have an additional description parameter
|
// gulp-help monkeypatches tasks to have an additional description parameter
|
||||||
const gulp = help(_gulp);
|
const gulp = help(_gulp);
|
||||||
|
|
||||||
require('./packages/grpc-js-core/gulpfile')(gulp);
|
require('./packages/grpc-js-core/gulpfile');
|
||||||
|
|
||||||
gulp.task('lint', 'Emit linting errors in source and test files', ['js.core.lint']);
|
gulp.task('lint', 'Emit linting errors in source and test files', ['js.core.lint']);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,9 @@
|
||||||
|
const _gulp = require('gulp');
|
||||||
|
const help = require('gulp-help');
|
||||||
|
|
||||||
|
// gulp-help monkeypatches tasks to have an additional description parameter
|
||||||
|
const gulp = help(_gulp);
|
||||||
|
|
||||||
const del = require('del');
|
const del = require('del');
|
||||||
const mocha = require('gulp-mocha');
|
const mocha = require('gulp-mocha');
|
||||||
const sourcemaps = require('gulp-sourcemaps');
|
const sourcemaps = require('gulp-sourcemaps');
|
||||||
|
|
@ -10,8 +16,6 @@ const through = require('through2');
|
||||||
|
|
||||||
Error.stackTraceLimit = Infinity;
|
Error.stackTraceLimit = Infinity;
|
||||||
|
|
||||||
module.exports = function(gulp) {
|
|
||||||
|
|
||||||
const jsCoreDir = __dirname;
|
const jsCoreDir = __dirname;
|
||||||
const tslintPath = path.resolve(jsCoreDir, 'node_modules/google-ts-style/tslint.json');
|
const tslintPath = path.resolve(jsCoreDir, 'node_modules/google-ts-style/tslint.json');
|
||||||
const tsconfigPath = path.resolve(jsCoreDir, 'tsconfig.json');
|
const tsconfigPath = path.resolve(jsCoreDir, 'tsconfig.json');
|
||||||
|
|
@ -160,5 +164,3 @@ module.exports = function(gulp) {
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
};
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue