From 3ca8c7e916c3b7ea00eccc0d8e3d05d716c8fe40 Mon Sep 17 00:00:00 2001 From: Jezz Santos Date: Mon, 2 Oct 2023 11:52:15 +1300 Subject: [PATCH] Added Roslyn generators to solution --- src/Directory.Build.props | 6 ++++-- src/NuGet.config | 6 ++++++ .../Tools.Analyzers.Core.UnitTests.csproj | 2 ++ src/Tools.Analyzers.Core/Resources.resx | 1 + .../Tools.Analyzers.Core.csproj | 19 ++++++++++++++++-- .../SaaStack.Tools.Analyzers.Core.1.0.0.nupkg | Bin 0 -> 10270 bytes 6 files changed, 30 insertions(+), 4 deletions(-) create mode 100644 src/NuGet.config create mode 100644 tools/nuget/SaaStack.Tools.Analyzers.Core.1.0.0.nupkg diff --git a/src/Directory.Build.props b/src/Directory.Build.props index c56a378a..7968ad46 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -96,8 +96,10 @@ - - + + + analyzers + diff --git a/src/NuGet.config b/src/NuGet.config new file mode 100644 index 00000000..5f07247a --- /dev/null +++ b/src/NuGet.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/src/Tools.Analyzers.Core.UnitTests/Tools.Analyzers.Core.UnitTests.csproj b/src/Tools.Analyzers.Core.UnitTests/Tools.Analyzers.Core.UnitTests.csproj index 71ed50e6..fcf156cf 100644 --- a/src/Tools.Analyzers.Core.UnitTests/Tools.Analyzers.Core.UnitTests.csproj +++ b/src/Tools.Analyzers.Core.UnitTests/Tools.Analyzers.Core.UnitTests.csproj @@ -6,6 +6,8 @@ + + diff --git a/src/Tools.Analyzers.Core/Resources.resx b/src/Tools.Analyzers.Core/Resources.resx index 7b42a4fc..125f41ca 100644 --- a/src/Tools.Analyzers.Core/Resources.resx +++ b/src/Tools.Analyzers.Core/Resources.resx @@ -24,6 +24,7 @@ PublicKeyToken=b77a5c561934e089 + This type should have a <summary> to describe what it designed to do. diff --git a/src/Tools.Analyzers.Core/Tools.Analyzers.Core.csproj b/src/Tools.Analyzers.Core/Tools.Analyzers.Core.csproj index 9723b41f..4e276815 100644 --- a/src/Tools.Analyzers.Core/Tools.Analyzers.Core.csproj +++ b/src/Tools.Analyzers.Core/Tools.Analyzers.Core.csproj @@ -4,10 +4,16 @@ .net7.0 true true + true + true + false + SaaStack.Tools.Analyzers.Core + Roslyn analyzers for SaaStack codebases + https://github.com/jezzsantos/saastack/blob/main/src/Tools.Analyzers.Core/README.md - - RS2007 + + RS2007;NU5128 @@ -39,4 +45,13 @@ + + + + + + + diff --git a/tools/nuget/SaaStack.Tools.Analyzers.Core.1.0.0.nupkg b/tools/nuget/SaaStack.Tools.Analyzers.Core.1.0.0.nupkg new file mode 100644 index 0000000000000000000000000000000000000000..82e3f205a992b88d418ab046f824421a96ab2e97 GIT binary patch literal 10270 zcmb`N1xzKu7N&7`cO86icLsMK+~J}Z87}S&?t{C#yE_c-?t|;#?ksPU-6wgQ>?Yft z?y9ajbvk|OKi!?wrz{5vg#`u%1_w5zD5lvzE+|e54hDt@@p*i<8ae`iAZDh2oD*W# ztRYy@f-exgLwjwE=e*KtL1lv0}(tP4A-5qREl zrp9-n5C$Vz;0L{9a4c#nii}uC*qeeBoCV{SYcNE7UYfj{3T{~fHb(Jb1K*u4$z`lG2 zRL$5}&B@r*hDqJt9tdLkW@ij^_W(G8n8fTI0ZewzAP0bHM*N1|JPTUTMXVd_*wTPv zGZ~trYGR?^uTcry-;GPD3hUHO`#+58s|O`W!!(UtxP=i#cMh4Nr^dZNPOook0d4C| z$S)A+m9D(PxcC-Zk<69lj(-X#;&ET=++L-jZO@&dBll212E|wgvSCHR8u^x$VI*(V z@VmP1^Qy3|!;{Qr_wsEhka)ENacb;?>WDJQe8>G^lTBYWbgD7FhsXTkrmf1bdnWb| zD~!qcLI-muqKj5BoIn)QUwN*2Mv3EEvzF^Jk{`F*{S70p8!}#KplJERzd;(Hwo!?C z3(6I*{1H>ICo?i#0L3vA+(7F6xAvHLj*@Ndad^-huNB@VN`$OfLM$5&d3ql<8|(u^ zs*12Xsj^AY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