Modified gulp task (#22)
* Implemented tests. * Tslint * Some refactoring. * Added one more check. * Added tests for several more methods. * Renamed test suite. * Added deletion of test files. * Fixed gulp task.
This commit is contained in:
Родитель
eb789c5286
Коммит
dc2f9b5bae
|
@ -68,7 +68,7 @@ gulp.task("build", function () {
|
|||
}));
|
||||
});
|
||||
|
||||
gulp.task("run-tests", function (callback) {
|
||||
gulp.task("test", function (callback) {
|
||||
var tsProject = ts.createProject("tsconfig.json");
|
||||
tsProject.config.files = glob.sync('./test/**/*.ts');
|
||||
|
||||
|
@ -105,10 +105,6 @@ gulp.task("debug", function (callback) {
|
|||
runSequence("clean", "build", callback);
|
||||
});
|
||||
|
||||
gulp.task("test", function (callback) {
|
||||
runSequence("build", "run-tests", callback);
|
||||
});
|
||||
|
||||
gulp.task("default", function (callback) {
|
||||
runSequence("clean", "build", "tslint", "test", callback);
|
||||
});
|
Загрузка…
Ссылка в новой задаче