ics-builder 4.1.95 → 4.1.96
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/app.js +0 -0
- package/src/builder/api/net5Builder.js +0 -6
package/package.json
CHANGED
package/src/app.js
CHANGED
|
File without changes
|
|
@@ -56,7 +56,6 @@ var Net5ApiBuilder = /** @class */ (function (_super) {
|
|
|
56
56
|
dotnetUtils_1.DotnetUtils.createTempSln(slnDir, slnName);
|
|
57
57
|
for (var _i = 0, _b = this.modules; _i < _b.length; _i++) {
|
|
58
58
|
var m = _b[_i];
|
|
59
|
-
utils_1.Utils.copyFile(m.Project, m.TempProject);
|
|
60
59
|
var csproj = new csprojFile_1.CsprojFile(m.Project);
|
|
61
60
|
csproj.setPublishPath(m.OutputPath);
|
|
62
61
|
csproj.save(m.Project);
|
|
@@ -75,10 +74,6 @@ var Net5ApiBuilder = /** @class */ (function (_super) {
|
|
|
75
74
|
}
|
|
76
75
|
finally {
|
|
77
76
|
utils_1.Utils.deleteFile(tempSlnPath);
|
|
78
|
-
this.modules.forEach(function (m) {
|
|
79
|
-
utils_1.Utils.copyFile(m.TempProject, m.Project);
|
|
80
|
-
utils_1.Utils.deleteFile(m.TempProject);
|
|
81
|
-
});
|
|
82
77
|
}
|
|
83
78
|
};
|
|
84
79
|
Net5ApiBuilder.prototype.collectModuleInfo = function (pkg) {
|
|
@@ -135,7 +130,6 @@ var ApiModuleInfo = /** @class */ (function () {
|
|
|
135
130
|
this.Module = module;
|
|
136
131
|
this.Project = project;
|
|
137
132
|
var dir = path.dirname(project);
|
|
138
|
-
this.TempProject = path.join(dir, utils_1.Utils.getFileName(project) + "_temp.csproj");
|
|
139
133
|
this.IsCoreModule = module.name == "_core" && pkg == "mdt";
|
|
140
134
|
this.OutputPath = this.IsCoreModule
|
|
141
135
|
? buildApiFolder
|