mirror of
https://github.com/kforney/pentest-distro-builder.git
synced 2024-11-25 09:45:25 -07:00
39 lines
No EOL
2.8 KiB
JavaScript
39 lines
No EOL
2.8 KiB
JavaScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
'use strict';
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
const gulp = require("gulp");
|
|
const optionsSchemaGenerator = require("./src/tools/GenerateOptionsSchema");
|
|
const packageDependencyUpdater = require("./src/tools/UpdatePackageDependencies");
|
|
const gulp_tslint_1 = require("gulp-tslint");
|
|
require('./tasks/testTasks');
|
|
require('./tasks/onlinePackagingTasks');
|
|
require('./tasks/offlinePackagingTasks');
|
|
require('./tasks/backcompatTasks');
|
|
require('./tasks/coverageTasks');
|
|
gulp.task('generateOptionsSchema', () => {
|
|
optionsSchemaGenerator.GenerateOptionsSchema();
|
|
});
|
|
gulp.task('updatePackageDependencies', () => {
|
|
packageDependencyUpdater.updatePackageDependencies();
|
|
});
|
|
gulp.task('tslint', () => {
|
|
return gulp.src([
|
|
'**/*.ts',
|
|
'!**/*.d.ts',
|
|
'!**/typings**',
|
|
'!node_modules/**',
|
|
'!vsix/**'
|
|
])
|
|
.pipe(gulp_tslint_1.default({
|
|
program: require('tslint').Linter.createProgram("./tsconfig.json"),
|
|
configuration: "./tslint.json"
|
|
}))
|
|
.pipe(gulp_tslint_1.default.report({
|
|
summarizeFailureOutput: false,
|
|
emitError: false
|
|
}));
|
|
});
|
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3VscGZpbGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9ndWxwZmlsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7O2dHQUdnRztBQUVoRyxZQUFZLENBQUM7O0FBRWIsNkJBQ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