зеркало из https://github.com/microsoft/TACO.git
moved dsdefinition to tools folder
This commit is contained in:
Родитель
5bbf0e103f
Коммит
aff2e45ea6
|
@ -20,7 +20,7 @@ gulp.task("run-compiled-gulp", ["compile-gulpmain"], function (callback) {
|
|||
gulpOption = arg[0].replace("--", "");
|
||||
var gulpCommand = "gulp " + gulpOption + " --gulpfile gulpmain.js";
|
||||
console.log("---executing: " + gulpCommand);
|
||||
exec(gulpCommand, { cwd: "../build" }, callback);
|
||||
exec(gulpCommand, { cwd: "../build/src" }, callback);
|
||||
});
|
||||
|
||||
/* compile the gulp-compile.ts file into JS */
|
||||
|
|
|
@ -7,14 +7,14 @@ var path = require("path");
|
|||
var exec = require("child_process").exec;
|
||||
import stylecopUtil = require("./taco-cli/compile/stylecop-util");
|
||||
import tsUtil = require("./taco-cli/compile/typescript-util");
|
||||
import dtsUtil = require("./taco-cli/compile/tsdefinition-util");
|
||||
import dtsUtil = require("../tools/tsdefinition-util");
|
||||
var del = require("del");
|
||||
var ncp = require("ncp");
|
||||
var Q = require("q");
|
||||
|
||||
var compilerPath = {
|
||||
src: "../src", // gulp task compiles all source under "taco-cli" source folder
|
||||
bin: "../bin",
|
||||
src: "../../src", // gulp task compiles all source under "taco-cli" source folder
|
||||
bin: "../../bin",
|
||||
};
|
||||
var copFile = path.join(compilerPath.src, "taco-cli/compile/TSStyleCop/TSStyleCop.js");
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ export class TypeScriptServices {
|
|||
if (path.extname(currentPath) === ".ts" &&
|
||||
!currentPath.match("d.ts$") &&
|
||||
!currentPath.match("gulpfile.ts") &&
|
||||
!currentPath.match("gulp-compile.ts")) {
|
||||
!currentPath.match("gulpmain.ts")) {
|
||||
result.push(currentPath);
|
||||
}
|
||||
} else {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/// <reference path="../../typings/node.d.ts" />
|
||||
/// <reference path="../../typings/q.d.ts" />
|
||||
/// <reference path="../src/typings/node.d.ts" />
|
||||
/// <reference path="../src/typings/q.d.ts" />
|
||||
|
||||
var exec = require("child_process").exec;
|
||||
var fs = require("fs");
|
Загрузка…
Ссылка в новой задаче