mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-17 01:49:57 -05:00
Revert more baselines, add jake task for typemock
This commit is contained in:
@@ -6,7 +6,7 @@ const mocha = require("gulp-mocha");
|
||||
const del = require("del");
|
||||
|
||||
const src = {
|
||||
compile: tsb.create("src/tsconfig.json"),
|
||||
compile: tsb.create("tsconfig.json"),
|
||||
src: () => gulp.src(["src/**/*.ts"]),
|
||||
dest: () => gulp.dest("dist")
|
||||
};
|
||||
@@ -23,6 +23,6 @@ gulp.task("test", ["build"], () => gulp
|
||||
.src(["dist/tests/index.js"], { read: false })
|
||||
.pipe(mocha({ reporter: "dot" })));
|
||||
|
||||
gulp.task("watch", () => gulp.watch(["src/**/*"], ["test"]));
|
||||
gulp.task("watch", () => gulp.watch(["src/**/*", "tsconfig.json"], ["test"]));
|
||||
|
||||
gulp.task("default", ["test"]);
|
||||
@@ -5,6 +5,11 @@
|
||||
"strict": true,
|
||||
"declaration": true,
|
||||
"sourceMap": true,
|
||||
"types": ["mocha"]
|
||||
}
|
||||
"types": ["mocha"],
|
||||
"newLine": "LF",
|
||||
"outDir": "dist"
|
||||
},
|
||||
"include": [
|
||||
"src/**/*"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user