mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-14 01:25:40 -05:00
Revert "Reenabling running SRGen when running lab builds, improving failure logic, updating SRGen package (#91)"
This reverts commit c14c7d187f.
This commit is contained in:
@@ -257,7 +257,6 @@ Task("TestCore")
|
||||
/// </summary>
|
||||
Task("Test")
|
||||
.IsDependentOn("Setup")
|
||||
.IsDependentOn("SRGen")
|
||||
.IsDependentOn("BuildTest")
|
||||
.Does(() =>
|
||||
{
|
||||
@@ -305,7 +304,6 @@ Task("Test")
|
||||
/// </summary>
|
||||
Task("OnlyPublish")
|
||||
.IsDependentOn("Setup")
|
||||
.IsDependentOn("SRGen")
|
||||
.Does(() =>
|
||||
{
|
||||
var project = buildPlan.MainProject;
|
||||
@@ -536,8 +534,7 @@ Task("SRGen")
|
||||
var dotnetArgs = string.Format("{0} -or \"{1}\" -oc \"{2}\" -ns \"{3}\" -an \"{4}\" -cn SR -l CS -dnx \"{5}\"",
|
||||
srgenPath, outputResx, outputCs, projectName, projectName, projectStrings);
|
||||
Information("{0}", dotnetArgs);
|
||||
Run(dotnetcli, dotnetArgs)
|
||||
.ExceptionOnError("Failed to run SRGen.");
|
||||
Run(dotnetcli, dotnetArgs);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -2,5 +2,5 @@
|
||||
<packages>
|
||||
<package id="Cake" version="0.10.1" />
|
||||
<package id="Newtonsoft.Json" version="8.0.3" />
|
||||
<package id="Microsoft.DataTools.SrGen" version="1.0.1" />
|
||||
<package id="Microsoft.DataTools.SrGen" version="1.0.1-preview" />
|
||||
</packages>
|
||||
|
||||
Reference in New Issue
Block a user