mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-13 17:23:02 -05:00
Bug/srgen in lab builds (#109)
This isn't much of a change from the change that was backed out. The only change was a version bump of the SRGen nuget package. * Reenabling running SRGen when running lab builds, improving failure logic, updating SRGen package * Vbump for srgen package testing * Final vbump of srgen package
This commit is contained in:
@@ -257,6 +257,7 @@ Task("TestCore")
|
||||
/// </summary>
|
||||
Task("Test")
|
||||
.IsDependentOn("Setup")
|
||||
.IsDependentOn("SRGen")
|
||||
.IsDependentOn("BuildTest")
|
||||
.Does(() =>
|
||||
{
|
||||
@@ -304,6 +305,7 @@ Task("Test")
|
||||
/// </summary>
|
||||
Task("OnlyPublish")
|
||||
.IsDependentOn("Setup")
|
||||
.IsDependentOn("SRGen")
|
||||
.Does(() =>
|
||||
{
|
||||
var project = buildPlan.MainProject;
|
||||
@@ -534,7 +536,8 @@ 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);
|
||||
Run(dotnetcli, dotnetArgs)
|
||||
.ExceptionOnError("Failed to run SRGen.");
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -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-preview" />
|
||||
<package id="Microsoft.DataTools.SrGen" version="1.0.2" />
|
||||
</packages>
|
||||
|
||||
Reference in New Issue
Block a user