Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Dima <alexdima@microsoft.com>2016-10-21 10:38:01 +0300
committerAlex Dima <alexdima@microsoft.com>2016-10-21 10:38:14 +0300
commitb00c5729275f75e96e021016894ec51b7a930dec (patch)
tree2d182c25705bd1833963d04f50ea4452623e20e6
parent74086c887d35e51e81ca7d8b131b66e0e12f7612 (diff)
Fix missing copyright header
-rw-r--r--build/monaco/package.json4
-rw-r--r--gulpfile.js7
-rw-r--r--scripts/monaco-editor-setup.js6
3 files changed, 16 insertions, 1 deletions
diff --git a/build/monaco/package.json b/build/monaco/package.json
index 0473303a7d7..8bd8ea80925 100644
--- a/build/monaco/package.json
+++ b/build/monaco/package.json
@@ -15,6 +15,7 @@
"devDependencies": {
"debounce": "^1.0.0",
"event-stream": "^3.1.7",
+ "ghooks": "1.0.3",
"glob": "^5.0.13",
"gulp": "^3.8.9",
"gulp-bom": "^1.0.0",
@@ -25,6 +26,7 @@
"gulp-rename": "^1.2.0",
"gulp-sourcemaps": "^1.6.0",
"gulp-tsb": "^2.0.1",
+ "gulp-tslint": "^4.3.0",
"gulp-uglify": "^2.0.0",
"gulp-util": "^3.0.6",
"gulp-watch": "^4.3.9",
@@ -40,7 +42,9 @@
"rimraf": "^2.2.8",
"sinon": "^1.17.2",
"source-map": "^0.4.4",
+ "tslint": "^3.3.0",
"typescript": "^2.0.3",
+ "typescript-formatter": "3.1.0",
"underscore": "^1.8.2",
"vinyl": "^0.4.5",
"vscode-nls-dev": "^2.0.1"
diff --git a/gulpfile.js b/gulpfile.js
index dd7dba9d993..5aa3bf0d4db 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -52,12 +52,17 @@ var ALL_EDITOR_TASKS = [
'minify-editor',
'clean-editor-distro',
'editor-distro',
- 'analyze-editor-distro'
+ 'analyze-editor-distro',
+
+ // hygiene tasks
+ 'tslint',
+ 'hygiene',
];
var runningEditorTasks = process.argv.length > 2 && process.argv.slice(2).every(function(arg) { return (ALL_EDITOR_TASKS.indexOf(arg) !== -1); });
if (runningEditorTasks) {
require(`./build/gulpfile.editor`);
+ require(`./build/gulpfile.hygiene`);
} else {
// Load all the gulpfiles only if running tasks other than the editor tasks
const build = path.join(__dirname, 'build');
diff --git a/scripts/monaco-editor-setup.js b/scripts/monaco-editor-setup.js
index e4b19090c29..513ec8000d9 100644
--- a/scripts/monaco-editor-setup.js
+++ b/scripts/monaco-editor-setup.js
@@ -1,3 +1,9 @@
+/*---------------------------------------------------------------------------------------------
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for license information.
+ *--------------------------------------------------------------------------------------------*/
+
+'use strict';
var fs = require('fs');
var cp = require('child_process');