Compare commits
19 Commits
3.1.0-dev.276
...
3.1.2
| Author | SHA1 | Date | |
|---|---|---|---|
| 4e84766be9 | |||
| 73a95aded0 | |||
| ac0ab3904c | |||
| 5c9d672a2b | |||
| 18d6653282 | |||
| d58a656c8a | |||
| 720d049145 | |||
| 129688a646 | |||
| fa66258b23 | |||
| 9f0c572993 | |||
| 158baff5b0 | |||
| f20064c9f0 | |||
| 6f1b22d13a | |||
| ef19bfa69d | |||
| 45601f1a2f | |||
| adf3298baf | |||
| 8f5e5f675b | |||
| 9217e67a9d | |||
| ebccf6ff79 |
@@ -10,7 +10,7 @@
|
|||||||
"rollForward": false
|
"rollForward": false
|
||||||
},
|
},
|
||||||
"gitversion.tool": {
|
"gitversion.tool": {
|
||||||
"version": "5.12.0",
|
"version": "6.1.0",
|
||||||
"commands": [
|
"commands": [
|
||||||
"dotnet-gitversion"
|
"dotnet-gitversion"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ name: .NET Build and Publish
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: ["main", "dev"]
|
branches: ["main", "dev"]
|
||||||
|
tags: ["3.*"]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|||||||
@@ -32,7 +32,6 @@
|
|||||||
<PackageVersion Include="xunit.runner.visualstudio" Version="3.0.2" />
|
<PackageVersion Include="xunit.runner.visualstudio" Version="3.0.2" />
|
||||||
<GlobalPackageReference Include="PolySharp" Version="1.15.0" />
|
<GlobalPackageReference Include="PolySharp" Version="1.15.0" />
|
||||||
<GlobalPackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" />
|
<GlobalPackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" />
|
||||||
<GlobalPackageReference Include="GitVersion.MsBuild" Version="5.12.0" />
|
|
||||||
<GlobalPackageReference Include="Speckle.InterfaceGenerator" Version="0.9.6" />
|
<GlobalPackageReference Include="Speckle.InterfaceGenerator" Version="0.9.6" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
+3
-8
@@ -1,11 +1,6 @@
|
|||||||
|
workflow: GitFlow/v1
|
||||||
next-version: 3.0.0
|
next-version: 3.0.0
|
||||||
mode: ContinuousDeployment
|
|
||||||
assembly-informational-format: "{Major}.{Minor}.{Patch}-{PreReleaseTag}"
|
|
||||||
branches:
|
branches:
|
||||||
main:
|
main:
|
||||||
regex: ^main$
|
prevent-increment:
|
||||||
tag: rc
|
when-current-commit-tagged: true
|
||||||
develop:
|
|
||||||
tag: dev
|
|
||||||
pull-request:
|
|
||||||
tag: pr
|
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "config", "config", "{DA2AED
|
|||||||
docker-compose.yml = docker-compose.yml
|
docker-compose.yml = docker-compose.yml
|
||||||
CodeMetricsConfig.txt = CodeMetricsConfig.txt
|
CodeMetricsConfig.txt = CodeMetricsConfig.txt
|
||||||
Directory.Build.Targets = Directory.Build.Targets
|
Directory.Build.Targets = Directory.Build.Targets
|
||||||
|
.config\dotnet-tools.json = .config\dotnet-tools.json
|
||||||
EndProjectSection
|
EndProjectSection
|
||||||
EndProject
|
EndProject
|
||||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{58D37DA9-F948-48CA-9A73-F5BBBD533DBF}"
|
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{58D37DA9-F948-48CA-9A73-F5BBBD533DBF}"
|
||||||
|
|||||||
+32
-7
@@ -1,3 +1,4 @@
|
|||||||
|
using System.Text.Json;
|
||||||
using GlobExpressions;
|
using GlobExpressions;
|
||||||
using static Bullseye.Targets;
|
using static Bullseye.Targets;
|
||||||
using static SimpleExec.Command;
|
using static SimpleExec.Command;
|
||||||
@@ -11,11 +12,20 @@ const string BUILD = "build";
|
|||||||
const string TEST = "test";
|
const string TEST = "test";
|
||||||
const string INTEGRATION = "integration";
|
const string INTEGRATION = "integration";
|
||||||
const string PACK = "pack";
|
const string PACK = "pack";
|
||||||
const string PACK_LOCAL = "pack-local";
|
|
||||||
const string CLEAN_LOCKS = "clean-locks";
|
const string CLEAN_LOCKS = "clean-locks";
|
||||||
const string PERF = "perf";
|
const string PERF = "perf";
|
||||||
const string DEEP_CLEAN = "deep-clean";
|
const string DEEP_CLEAN = "deep-clean";
|
||||||
|
|
||||||
|
static async Task<(string, string)> GetVersions()
|
||||||
|
{
|
||||||
|
var (output, _) = await ReadAsync("dotnet", "dotnet-gitversion /output json").ConfigureAwait(false);
|
||||||
|
output = output.Trim();
|
||||||
|
var jDoc = JsonDocument.Parse(output);
|
||||||
|
var version = jDoc.RootElement.GetProperty("FullSemVer").GetString() ?? "3.0.0-localBuild";
|
||||||
|
var fileVersion = jDoc.RootElement.GetProperty("AssemblySemFileVer").GetString() ?? "3.0.0.0";
|
||||||
|
return (version, fileVersion);
|
||||||
|
}
|
||||||
|
|
||||||
Target(
|
Target(
|
||||||
CLEAN_LOCKS,
|
CLEAN_LOCKS,
|
||||||
() =>
|
() =>
|
||||||
@@ -60,14 +70,20 @@ Target(RESTORE_TOOLS, () => RunAsync("dotnet", "tool restore"));
|
|||||||
|
|
||||||
Target(FORMAT, DependsOn(RESTORE_TOOLS), () => RunAsync("dotnet", "csharpier --check ."));
|
Target(FORMAT, DependsOn(RESTORE_TOOLS), () => RunAsync("dotnet", "csharpier --check ."));
|
||||||
|
|
||||||
Target(RESTORE, () => RunAsync("dotnet", "restore Speckle.Sdk.sln --locked-mode"));
|
Target(RESTORE, DependsOn(FORMAT), () => RunAsync("dotnet", "restore Speckle.Sdk.sln --locked-mode"));
|
||||||
|
|
||||||
Target(
|
Target(
|
||||||
BUILD,
|
BUILD,
|
||||||
DependsOn(RESTORE),
|
DependsOn(RESTORE),
|
||||||
async () =>
|
async () =>
|
||||||
{
|
{
|
||||||
await RunAsync("dotnet", $"build Speckle.Sdk.sln -c Release --no-restore -warnaserror").ConfigureAwait(false);
|
var (version, fileVersion) = await GetVersions().ConfigureAwait(false);
|
||||||
|
Console.WriteLine($"Version: {version} & {fileVersion}");
|
||||||
|
await RunAsync(
|
||||||
|
"dotnet",
|
||||||
|
$"build Speckle.Sdk.sln -c Release --no-restore -warnaserror -p:Version={version} -p:FileVersion={fileVersion}"
|
||||||
|
)
|
||||||
|
.ConfigureAwait(false);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
@@ -152,10 +168,19 @@ Target(
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
static Task RunPack() => RunAsync("dotnet", "pack Speckle.Sdk.sln -c Release -o output --no-build");
|
Target(
|
||||||
|
PACK,
|
||||||
Target(PACK, DependsOn(TEST), RunPack);
|
DependsOn(BUILD),
|
||||||
Target(PACK_LOCAL, DependsOn(BUILD), RunPack);
|
async () =>
|
||||||
|
{
|
||||||
|
{
|
||||||
|
var (version, fileVersion) = await GetVersions().ConfigureAwait(false);
|
||||||
|
Console.WriteLine($"Version: {version} & {fileVersion}");
|
||||||
|
await RunAsync("dotnet", $"pack Speckle.Sdk.sln -c Release -o output --no-build -p:Version={version}")
|
||||||
|
.ConfigureAwait(false);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
Target("default", DependsOn(FORMAT, TEST, INTEGRATION), () => Console.WriteLine("Done!"));
|
Target("default", DependsOn(FORMAT, TEST, INTEGRATION), () => Console.WriteLine("Done!"));
|
||||||
|
|
||||||
|
|||||||
@@ -8,12 +8,6 @@
|
|||||||
"resolved": "5.0.0",
|
"resolved": "5.0.0",
|
||||||
"contentHash": "bqyt+m17ym+5aN45C5oZRAjuLDt8jKiCm/ys1XfymIXSkrTFwvI/QsbY3ucPSHDz7SF7uON7B57kXFv5H2k1ew=="
|
"contentHash": "bqyt+m17ym+5aN45C5oZRAjuLDt8jKiCm/ys1XfymIXSkrTFwvI/QsbY3ucPSHDz7SF7uON7B57kXFv5H2k1ew=="
|
||||||
},
|
},
|
||||||
"GitVersion.MsBuild": {
|
|
||||||
"type": "Direct",
|
|
||||||
"requested": "[5.12.0, )",
|
|
||||||
"resolved": "5.12.0",
|
|
||||||
"contentHash": "dJuigXycpJNOiLT9or7mkHSkGFHgGW3/p6cNNYEKZBa7Hhp1FdX/cvqYWWYhRLpfoZOedeA7aRbYiOB3vW/dvA=="
|
|
||||||
},
|
|
||||||
"Glob": {
|
"Glob": {
|
||||||
"type": "Direct",
|
"type": "Direct",
|
||||||
"requested": "[1.1.9, )",
|
"requested": "[1.1.9, )",
|
||||||
|
|||||||
@@ -0,0 +1,97 @@
|
|||||||
|
using Speckle.Objects.Other;
|
||||||
|
using Speckle.Sdk.Common;
|
||||||
|
using Speckle.Sdk.Models;
|
||||||
|
|
||||||
|
namespace Speckle.Objects.Geometry;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Flat polygon, defined by an outer boundary and inner loops.
|
||||||
|
/// </summary>
|
||||||
|
[SpeckleType("Objects.Geometry.Region")]
|
||||||
|
public class Region : Base, IHasArea, IHasBoundingBox, ITransformable, IDisplayValue<List<Mesh>>
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Boundary of a region.
|
||||||
|
/// Should be a planar, closed, non-self-intersecting ICurve.
|
||||||
|
/// </summary>
|
||||||
|
public required ICurve boundary { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Loops (voids) in the region.
|
||||||
|
/// Each loop should be planar, closed, non-self-intersecting ICurve, located inside the boundary.
|
||||||
|
/// The loops should not intersect or touch each other.
|
||||||
|
/// </summary>
|
||||||
|
public required List<ICurve> innerLoops { get; set; } = new();
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// The units of object's coordinates.
|
||||||
|
/// This should be one of <see cref="Units"/>
|
||||||
|
/// </summary>
|
||||||
|
public required string units { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Indication whether the region is just a geometry (false) or has a hatch pattern (true).
|
||||||
|
/// It's a distinction for receiving in apps that support both Region and Hatch (aka region with hatch pattern)
|
||||||
|
/// </summary>
|
||||||
|
public required bool hasHatchPattern { get; set; }
|
||||||
|
|
||||||
|
/// <inheritdoc/>
|
||||||
|
public double area { get; set; }
|
||||||
|
|
||||||
|
/// <inheritdoc/>
|
||||||
|
public Box? bbox { get; set; }
|
||||||
|
|
||||||
|
/// <inheritdoc/>
|
||||||
|
[DetachProperty]
|
||||||
|
public List<Mesh> displayValue { get; set; } = new();
|
||||||
|
|
||||||
|
/// <inheritdoc/>
|
||||||
|
public bool TransformTo(Transform transform, out ITransformable transformed)
|
||||||
|
{
|
||||||
|
// assign self to the returned object, in case transformation fails
|
||||||
|
transformed = this;
|
||||||
|
|
||||||
|
// transform boundary
|
||||||
|
if (boundary is ITransformable boundaryTransformable)
|
||||||
|
{
|
||||||
|
boundaryTransformable.TransformTo(transform, out ITransformable transformedBoundaryResult);
|
||||||
|
var transformedBoundary = (ICurve)transformedBoundaryResult;
|
||||||
|
|
||||||
|
// transform inner loops
|
||||||
|
var transformedLoops = new List<ICurve>();
|
||||||
|
foreach (var loop in innerLoops)
|
||||||
|
{
|
||||||
|
if (loop is ITransformable loopTransformable)
|
||||||
|
{
|
||||||
|
loopTransformable.TransformTo(transform, out ITransformable transformedLoop);
|
||||||
|
transformedLoops.Add((ICurve)transformedLoop);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// transform display meshes
|
||||||
|
var transformedMeshes = new List<Mesh>();
|
||||||
|
foreach (var mesh in displayValue)
|
||||||
|
{
|
||||||
|
mesh.TransformTo(transform, out ITransformable transformedMesh);
|
||||||
|
transformedMeshes.Add((Mesh)transformedMesh);
|
||||||
|
}
|
||||||
|
|
||||||
|
// if boundary and loops transformations succeeded
|
||||||
|
transformed = new Region
|
||||||
|
{
|
||||||
|
boundary = transformedBoundary,
|
||||||
|
innerLoops = transformedLoops,
|
||||||
|
hasHatchPattern = hasHatchPattern,
|
||||||
|
displayValue = transformedMeshes,
|
||||||
|
units = units,
|
||||||
|
};
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -2,12 +2,6 @@
|
|||||||
"version": 2,
|
"version": 2,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
".NETStandard,Version=v2.0": {
|
".NETStandard,Version=v2.0": {
|
||||||
"GitVersion.MsBuild": {
|
|
||||||
"type": "Direct",
|
|
||||||
"requested": "[5.12.0, )",
|
|
||||||
"resolved": "5.12.0",
|
|
||||||
"contentHash": "dJuigXycpJNOiLT9or7mkHSkGFHgGW3/p6cNNYEKZBa7Hhp1FdX/cvqYWWYhRLpfoZOedeA7aRbYiOB3vW/dvA=="
|
|
||||||
},
|
|
||||||
"Microsoft.SourceLink.GitHub": {
|
"Microsoft.SourceLink.GitHub": {
|
||||||
"type": "Direct",
|
"type": "Direct",
|
||||||
"requested": "[8.0.0, )",
|
"requested": "[8.0.0, )",
|
||||||
@@ -315,12 +309,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"net8.0": {
|
"net8.0": {
|
||||||
"GitVersion.MsBuild": {
|
|
||||||
"type": "Direct",
|
|
||||||
"requested": "[5.12.0, )",
|
|
||||||
"resolved": "5.12.0",
|
|
||||||
"contentHash": "dJuigXycpJNOiLT9or7mkHSkGFHgGW3/p6cNNYEKZBa7Hhp1FdX/cvqYWWYhRLpfoZOedeA7aRbYiOB3vW/dvA=="
|
|
||||||
},
|
|
||||||
"Microsoft.SourceLink.GitHub": {
|
"Microsoft.SourceLink.GitHub": {
|
||||||
"type": "Direct",
|
"type": "Direct",
|
||||||
"requested": "[8.0.0, )",
|
"requested": "[8.0.0, )",
|
||||||
|
|||||||
@@ -2,12 +2,6 @@
|
|||||||
"version": 2,
|
"version": 2,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
".NETStandard,Version=v2.0": {
|
".NETStandard,Version=v2.0": {
|
||||||
"GitVersion.MsBuild": {
|
|
||||||
"type": "Direct",
|
|
||||||
"requested": "[5.12.0, )",
|
|
||||||
"resolved": "5.12.0",
|
|
||||||
"contentHash": "dJuigXycpJNOiLT9or7mkHSkGFHgGW3/p6cNNYEKZBa7Hhp1FdX/cvqYWWYhRLpfoZOedeA7aRbYiOB3vW/dvA=="
|
|
||||||
},
|
|
||||||
"ILRepack.FullAuto": {
|
"ILRepack.FullAuto": {
|
||||||
"type": "Direct",
|
"type": "Direct",
|
||||||
"requested": "[1.6.0, )",
|
"requested": "[1.6.0, )",
|
||||||
@@ -169,12 +163,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"net8.0": {
|
"net8.0": {
|
||||||
"GitVersion.MsBuild": {
|
|
||||||
"type": "Direct",
|
|
||||||
"requested": "[5.12.0, )",
|
|
||||||
"resolved": "5.12.0",
|
|
||||||
"contentHash": "dJuigXycpJNOiLT9or7mkHSkGFHgGW3/p6cNNYEKZBa7Hhp1FdX/cvqYWWYhRLpfoZOedeA7aRbYiOB3vW/dvA=="
|
|
||||||
},
|
|
||||||
"ILRepack.FullAuto": {
|
"ILRepack.FullAuto": {
|
||||||
"type": "Direct",
|
"type": "Direct",
|
||||||
"requested": "[1.6.0, )",
|
"requested": "[1.6.0, )",
|
||||||
|
|||||||
@@ -2,12 +2,6 @@
|
|||||||
"version": 2,
|
"version": 2,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
".NETStandard,Version=v2.0": {
|
".NETStandard,Version=v2.0": {
|
||||||
"GitVersion.MsBuild": {
|
|
||||||
"type": "Direct",
|
|
||||||
"requested": "[5.12.0, )",
|
|
||||||
"resolved": "5.12.0",
|
|
||||||
"contentHash": "dJuigXycpJNOiLT9or7mkHSkGFHgGW3/p6cNNYEKZBa7Hhp1FdX/cvqYWWYhRLpfoZOedeA7aRbYiOB3vW/dvA=="
|
|
||||||
},
|
|
||||||
"GraphQL.Client": {
|
"GraphQL.Client": {
|
||||||
"type": "Direct",
|
"type": "Direct",
|
||||||
"requested": "[6.0.0, )",
|
"requested": "[6.0.0, )",
|
||||||
@@ -301,12 +295,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"net8.0": {
|
"net8.0": {
|
||||||
"GitVersion.MsBuild": {
|
|
||||||
"type": "Direct",
|
|
||||||
"requested": "[5.12.0, )",
|
|
||||||
"resolved": "5.12.0",
|
|
||||||
"contentHash": "dJuigXycpJNOiLT9or7mkHSkGFHgGW3/p6cNNYEKZBa7Hhp1FdX/cvqYWWYhRLpfoZOedeA7aRbYiOB3vW/dvA=="
|
|
||||||
},
|
|
||||||
"GraphQL.Client": {
|
"GraphQL.Client": {
|
||||||
"type": "Direct",
|
"type": "Direct",
|
||||||
"requested": "[6.0.0, )",
|
"requested": "[6.0.0, )",
|
||||||
|
|||||||
@@ -14,12 +14,6 @@
|
|||||||
"resolved": "8.0.0",
|
"resolved": "8.0.0",
|
||||||
"contentHash": "6fWiV7mGZUzZXzeiW3hWF0nJokuuNm4hnzuqbM3IXHqGYkWnHl65+wNpuQ73xfJXClX0fmfKcTdQ2Ula719IDg=="
|
"contentHash": "6fWiV7mGZUzZXzeiW3hWF0nJokuuNm4hnzuqbM3IXHqGYkWnHl65+wNpuQ73xfJXClX0fmfKcTdQ2Ula719IDg=="
|
||||||
},
|
},
|
||||||
"GitVersion.MsBuild": {
|
|
||||||
"type": "Direct",
|
|
||||||
"requested": "[5.12.0, )",
|
|
||||||
"resolved": "5.12.0",
|
|
||||||
"contentHash": "dJuigXycpJNOiLT9or7mkHSkGFHgGW3/p6cNNYEKZBa7Hhp1FdX/cvqYWWYhRLpfoZOedeA7aRbYiOB3vW/dvA=="
|
|
||||||
},
|
|
||||||
"Microsoft.NET.Test.Sdk": {
|
"Microsoft.NET.Test.Sdk": {
|
||||||
"type": "Direct",
|
"type": "Direct",
|
||||||
"requested": "[17.13.0, )",
|
"requested": "[17.13.0, )",
|
||||||
|
|||||||
@@ -2,12 +2,6 @@
|
|||||||
"version": 2,
|
"version": 2,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"net8.0": {
|
"net8.0": {
|
||||||
"GitVersion.MsBuild": {
|
|
||||||
"type": "Direct",
|
|
||||||
"requested": "[5.12.0, )",
|
|
||||||
"resolved": "5.12.0",
|
|
||||||
"contentHash": "dJuigXycpJNOiLT9or7mkHSkGFHgGW3/p6cNNYEKZBa7Hhp1FdX/cvqYWWYhRLpfoZOedeA7aRbYiOB3vW/dvA=="
|
|
||||||
},
|
|
||||||
"Microsoft.Extensions.DependencyInjection": {
|
"Microsoft.Extensions.DependencyInjection": {
|
||||||
"type": "Direct",
|
"type": "Direct",
|
||||||
"requested": "[2.2.0, )",
|
"requested": "[2.2.0, )",
|
||||||
|
|||||||
@@ -14,12 +14,6 @@
|
|||||||
"resolved": "8.0.0",
|
"resolved": "8.0.0",
|
||||||
"contentHash": "6fWiV7mGZUzZXzeiW3hWF0nJokuuNm4hnzuqbM3IXHqGYkWnHl65+wNpuQ73xfJXClX0fmfKcTdQ2Ula719IDg=="
|
"contentHash": "6fWiV7mGZUzZXzeiW3hWF0nJokuuNm4hnzuqbM3IXHqGYkWnHl65+wNpuQ73xfJXClX0fmfKcTdQ2Ula719IDg=="
|
||||||
},
|
},
|
||||||
"GitVersion.MsBuild": {
|
|
||||||
"type": "Direct",
|
|
||||||
"requested": "[5.12.0, )",
|
|
||||||
"resolved": "5.12.0",
|
|
||||||
"contentHash": "dJuigXycpJNOiLT9or7mkHSkGFHgGW3/p6cNNYEKZBa7Hhp1FdX/cvqYWWYhRLpfoZOedeA7aRbYiOB3vW/dvA=="
|
|
||||||
},
|
|
||||||
"Microsoft.NET.Test.Sdk": {
|
"Microsoft.NET.Test.Sdk": {
|
||||||
"type": "Direct",
|
"type": "Direct",
|
||||||
"requested": "[17.13.0, )",
|
"requested": "[17.13.0, )",
|
||||||
|
|||||||
@@ -2,12 +2,6 @@
|
|||||||
"version": 2,
|
"version": 2,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"net8.0": {
|
"net8.0": {
|
||||||
"GitVersion.MsBuild": {
|
|
||||||
"type": "Direct",
|
|
||||||
"requested": "[5.12.0, )",
|
|
||||||
"resolved": "5.12.0",
|
|
||||||
"contentHash": "dJuigXycpJNOiLT9or7mkHSkGFHgGW3/p6cNNYEKZBa7Hhp1FdX/cvqYWWYhRLpfoZOedeA7aRbYiOB3vW/dvA=="
|
|
||||||
},
|
|
||||||
"Microsoft.NET.Test.Sdk": {
|
"Microsoft.NET.Test.Sdk": {
|
||||||
"type": "Direct",
|
"type": "Direct",
|
||||||
"requested": "[17.13.0, )",
|
"requested": "[17.13.0, )",
|
||||||
|
|||||||
@@ -65,8 +65,8 @@ public class ProjectResourceTests
|
|||||||
result.createdAt.Should().Be(_testProject.createdAt);
|
result.createdAt.Should().Be(_testProject.createdAt);
|
||||||
}
|
}
|
||||||
|
|
||||||
[Fact]
|
//[Fact]
|
||||||
public async Task ProjectUpdate_Should_UpdateProjectSuccessfully()
|
private async Task ProjectUpdate_Should_UpdateProjectSuccessfully()
|
||||||
{
|
{
|
||||||
// Arrange
|
// Arrange
|
||||||
const string NEW_NAME = "MY new name";
|
const string NEW_NAME = "MY new name";
|
||||||
|
|||||||
@@ -8,12 +8,6 @@
|
|||||||
"resolved": "9.0.1",
|
"resolved": "9.0.1",
|
||||||
"contentHash": "aadciFNDT5bnylaYUkKal+s5hF7yU/lmZxImQWAlk1438iPqK1Uf79H5ylELpyLIU49HL5ql+tnWBihp3WVLCA=="
|
"contentHash": "aadciFNDT5bnylaYUkKal+s5hF7yU/lmZxImQWAlk1438iPqK1Uf79H5ylELpyLIU49HL5ql+tnWBihp3WVLCA=="
|
||||||
},
|
},
|
||||||
"GitVersion.MsBuild": {
|
|
||||||
"type": "Direct",
|
|
||||||
"requested": "[5.12.0, )",
|
|
||||||
"resolved": "5.12.0",
|
|
||||||
"contentHash": "dJuigXycpJNOiLT9or7mkHSkGFHgGW3/p6cNNYEKZBa7Hhp1FdX/cvqYWWYhRLpfoZOedeA7aRbYiOB3vW/dvA=="
|
|
||||||
},
|
|
||||||
"Microsoft.NET.Test.Sdk": {
|
"Microsoft.NET.Test.Sdk": {
|
||||||
"type": "Direct",
|
"type": "Direct",
|
||||||
"requested": "[17.13.0, )",
|
"requested": "[17.13.0, )",
|
||||||
|
|||||||
@@ -20,12 +20,6 @@
|
|||||||
"System.Management": "5.0.0"
|
"System.Management": "5.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"GitVersion.MsBuild": {
|
|
||||||
"type": "Direct",
|
|
||||||
"requested": "[5.12.0, )",
|
|
||||||
"resolved": "5.12.0",
|
|
||||||
"contentHash": "dJuigXycpJNOiLT9or7mkHSkGFHgGW3/p6cNNYEKZBa7Hhp1FdX/cvqYWWYhRLpfoZOedeA7aRbYiOB3vW/dvA=="
|
|
||||||
},
|
|
||||||
"Microsoft.Extensions.DependencyInjection": {
|
"Microsoft.Extensions.DependencyInjection": {
|
||||||
"type": "Direct",
|
"type": "Direct",
|
||||||
"requested": "[2.2.0, )",
|
"requested": "[2.2.0, )",
|
||||||
|
|||||||
@@ -14,12 +14,6 @@
|
|||||||
"resolved": "8.0.0",
|
"resolved": "8.0.0",
|
||||||
"contentHash": "6fWiV7mGZUzZXzeiW3hWF0nJokuuNm4hnzuqbM3IXHqGYkWnHl65+wNpuQ73xfJXClX0fmfKcTdQ2Ula719IDg=="
|
"contentHash": "6fWiV7mGZUzZXzeiW3hWF0nJokuuNm4hnzuqbM3IXHqGYkWnHl65+wNpuQ73xfJXClX0fmfKcTdQ2Ula719IDg=="
|
||||||
},
|
},
|
||||||
"GitVersion.MsBuild": {
|
|
||||||
"type": "Direct",
|
|
||||||
"requested": "[5.12.0, )",
|
|
||||||
"resolved": "5.12.0",
|
|
||||||
"contentHash": "dJuigXycpJNOiLT9or7mkHSkGFHgGW3/p6cNNYEKZBa7Hhp1FdX/cvqYWWYhRLpfoZOedeA7aRbYiOB3vW/dvA=="
|
|
||||||
},
|
|
||||||
"Microsoft.Extensions.DependencyInjection": {
|
"Microsoft.Extensions.DependencyInjection": {
|
||||||
"type": "Direct",
|
"type": "Direct",
|
||||||
"requested": "[2.2.0, )",
|
"requested": "[2.2.0, )",
|
||||||
|
|||||||
Reference in New Issue
Block a user