Skip to content

Commit

Permalink
version bump for 0.16.0 release
Browse files Browse the repository at this point in the history
Updated cake build tools
  • Loading branch information
mrsharpoblunto committed May 12, 2023
1 parent d676377 commit cfb85ed
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 256 deletions.
12 changes: 12 additions & 0 deletions Matchstick/build/.config/dotnet-tools.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"version": 1,
"isRoot": true,
"tools": {
"cake.tool": {
"version": "3.0.0",
"commands": [
"dotnet-cake"
]
}
}
}
24 changes: 14 additions & 10 deletions Matchstick/build/build.cake
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
using System.Text.RegularExpressions;
#addin nuget:?package=Cake.FileHelpers&version=3.3.0
#addin nuget:?package=Cake.Json&version=5.1.1
#addin nuget:?package=Cake.AWS.S3&version=0.6.9
#addin nuget:?package=Cake.Git&version=0.22.0
#addin nuget:?package=Cake.FileHelpers&version=6.1.3
#addin nuget:?package=Cake.Json&version=7.0.1
#addin nuget:?package=Cake.AWS.S3&version=1.0.0&loaddependencies=true
#addin nuget:?package=Cake.Git&version=3.0.0
#addin nuget:?package=Newtonsoft.Json&version=9.0.1
#tool nuget:?package=NUnit.ConsoleRunner&version=3.16.3

var target = Argument("target", "Default");
var buildConfiguration = Argument("configuration", "Release");
Expand All @@ -16,7 +17,7 @@ Task("BuildX64")
.Does(() => {
MSBuild("../Matchstick.sln", new MSBuildSettings{
Verbosity = Verbosity.Minimal,
ToolVersion = MSBuildToolVersion.VS2019,
ToolVersion = MSBuildToolVersion.VS2022,
Configuration = buildConfiguration,
PlatformTarget = PlatformTarget.x64
});
Expand Down Expand Up @@ -63,7 +64,8 @@ Task("Documentation")
Task("TestGamesManager")
.IsDependentOn("BuildX64")
.Does(() => {
NUnit3($@"../tests/GamesManager.Tests/bin/{buildConfiguration}/GamesManager.Tests.dll", new NUnit3Settings() {
NUnit($@"../tests/GamesManager.Tests/bin/{buildConfiguration}/GamesManager.Tests.dll", new NUnitSettings() {
ToolPath = "./tools/NUnit.ConsoleRunner.3.16.3/tools/nunit3-console.exe",
StopOnError = true,
NoResults = true
});
Expand All @@ -88,10 +90,12 @@ Task("Clean").Does(() => {
});
}
CreateDirectory("../dist");
DeleteDirectory($@"../bin/x64/{buildConfiguration}", new DeleteDirectorySettings() {
Force = true,
Recursive = true,
});
if (DirectoryExists("../bin/x64/{buildConfiguration}")) {
DeleteDirectory($@"../bin/x64/{buildConfiguration}", new DeleteDirectorySettings() {
Force = true,
Recursive = true,
});
}
});

Task("Dist")
Expand Down
235 changes: 0 additions & 235 deletions Matchstick/build/build.ps1

This file was deleted.

8 changes: 0 additions & 8 deletions Matchstick/build/tools/packages.config

This file was deleted.

4 changes: 2 additions & 2 deletions Matchstick/src/GamesManager/solutionInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: AssemblyVersion("0.15.1")]
[assembly: AssemblyFileVersion("0.15.1")]
[assembly: AssemblyVersion("0.16.0")]
[assembly: AssemblyFileVersion("0.16.0")]
2 changes: 1 addition & 1 deletion Matchstick/src/core/common/MGDFVersionInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
namespace MGDF {
namespace core {

constexpr char _mgdfVersion[] = "0.15.1";
constexpr char _mgdfVersion[] = "0.16.0";

const char *MGDFVersionInfo::MGDF_VERSION() { return _mgdfVersion; }

Expand Down
3 changes: 3 additions & 0 deletions Matchstick/src/core/core.api/MGDF.idl
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,9 @@ typedef enum MGDFLogLevel {
MGDFLogLevel level);
};

/**
Allows a metric to be tagged with a collection of name/value pairs
*/
typedef struct MGDFTags {
const small **Names;
const small **Values;
Expand Down

0 comments on commit cfb85ed

Please sign in to comment.