|
|
@ -135,7 +135,7 @@ Task("Gulp Publish")
|
|
|
|
Task("TSLint")
|
|
|
|
Task("TSLint")
|
|
|
|
.Does(() =>
|
|
|
|
.Does(() =>
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// Yarn.FromPath(uiProjectDir).RunScript("lint");
|
|
|
|
Yarn.FromPath(uiProjectDir).RunScript("lint");
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
Task("PrePublish")
|
|
|
|
Task("PrePublish")
|
|
|
@ -263,6 +263,21 @@ Task("Run-Unit-Tests")
|
|
|
|
DotNetCoreTest(file.FullPath, settings);
|
|
|
|
DotNetCoreTest(file.FullPath, settings);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Task("Run-Server-Build")
|
|
|
|
|
|
|
|
.Does(() =>
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
var settings = new DotNetCoreBuildSettings
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Framework = frameworkVer,
|
|
|
|
|
|
|
|
Configuration = "Release",
|
|
|
|
|
|
|
|
OutputDirectory = Directory(buildDir)
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
DotNetCoreBuild(csProj, settings);
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Task("Run-UI-Build")
|
|
|
|
|
|
|
|
.IsDependentOn("PrePublish");
|
|
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
// TASK TARGETS
|
|
|
|
// TASK TARGETS
|
|
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
@ -270,6 +285,12 @@ Task("Run-Unit-Tests")
|
|
|
|
Task("Default")
|
|
|
|
Task("Default")
|
|
|
|
.IsDependentOn("Publish");
|
|
|
|
.IsDependentOn("Publish");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Task("Build")
|
|
|
|
|
|
|
|
.IsDependentOn("SetVersionInfo")
|
|
|
|
|
|
|
|
.IsDependentOn("Run-Unit-Tests")
|
|
|
|
|
|
|
|
.IsDependentOn("Run-Server-Build")
|
|
|
|
|
|
|
|
.IsDependentOn("Run-UI-Build");
|
|
|
|
|
|
|
|
|
|
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
// EXECUTION
|
|
|
|
// EXECUTION
|
|
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|