Add mutannot
This commit is contained in:
parent
c09915ac60
commit
eaae9fe9b8
4 changed files with 42 additions and 0 deletions
13
NightLight.Core.Tests/MutationCaseAttribute.fs
Normal file
13
NightLight.Core.Tests/MutationCaseAttribute.fs
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
namespace Mutannot
|
||||
|
||||
open System
|
||||
|
||||
[<AttributeUsage(AttributeTargets.Method, AllowMultiple = true)>]
|
||||
type MutationCaseAttribute(id: string, file: string, line: int, find: string, replace: string) =
|
||||
inherit Attribute()
|
||||
|
||||
member _.Id = id
|
||||
member _.File = file
|
||||
member _.Line = line
|
||||
member _.Find = find
|
||||
member _.Replace = replace
|
||||
|
|
@ -7,6 +7,7 @@
|
|||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Include="MutationCaseAttribute.fs" />
|
||||
<Compile Include="FakeHome.fs" />
|
||||
<Compile Include="GenHelpers.fs" />
|
||||
<Compile Include="InteractionListHelpers.fs" />
|
||||
|
|
|
|||
22
flake.lock
generated
22
flake.lock
generated
|
|
@ -42,6 +42,27 @@
|
|||
"url": "https://codeberg.org/svenvanheugten/git-check-assertions.git"
|
||||
}
|
||||
},
|
||||
"mutannot": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1777439386,
|
||||
"narHash": "sha256-nTBcu7NsN1jwoXr8SoKaW+0EPb5klTU6SSWuXOeuEuA=",
|
||||
"ref": "main",
|
||||
"rev": "1019d3c5d04d441d12b915876110f7493270b988",
|
||||
"revCount": 19,
|
||||
"type": "git",
|
||||
"url": "https://git.memcmp.org/svenvanheugten/mutannot.git"
|
||||
},
|
||||
"original": {
|
||||
"ref": "main",
|
||||
"type": "git",
|
||||
"url": "https://git.memcmp.org/svenvanheugten/mutannot.git"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1773507054,
|
||||
|
|
@ -62,6 +83,7 @@
|
|||
"inputs": {
|
||||
"flake-utils": "flake-utils",
|
||||
"git-check-assertions": "git-check-assertions",
|
||||
"mutannot": "mutannot",
|
||||
"nixpkgs": "nixpkgs"
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -7,6 +7,10 @@
|
|||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
inputs.flake-utils.follows = "flake-utils";
|
||||
};
|
||||
mutannot = {
|
||||
url = "git+https://git.memcmp.org/svenvanheugten/mutannot.git?ref=main";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
outputs =
|
||||
{
|
||||
|
|
@ -14,6 +18,7 @@
|
|||
nixpkgs,
|
||||
flake-utils,
|
||||
git-check-assertions,
|
||||
mutannot,
|
||||
}:
|
||||
flake-utils.lib.eachDefaultSystem (
|
||||
system:
|
||||
|
|
@ -26,6 +31,7 @@
|
|||
packages = [
|
||||
pkgs.dotnet-sdk_10
|
||||
git-check-assertions.packages.${system}.default
|
||||
mutannot.packages.${system}.default
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue