Skip to content

Commit

Permalink
Merge pull request #95 from dawedawe/dedicated_testing_proj
Browse files Browse the repository at this point in the history
create a dedicated testing project
  • Loading branch information
dawedawe authored Sep 20, 2023
2 parents 79e302b + 9189b7a commit 60e6f16
Show file tree
Hide file tree
Showing 13 changed files with 521 additions and 614 deletions.
9 changes: 9 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,13 @@
<Content Include="$(MSBuildThisFileDirectory)README.md" PackagePath="README.md" />
</ItemGroup>

<ItemGroup Condition="'$(GeneratePackageOnBuild)' == 'true'">
<PackageReference Include="Ionide.KeepAChangelog.Tasks" PrivateAssets="All" />
</ItemGroup>

<PropertyGroup Condition="'$(IsPackable)' == 'true'">
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageTags>F#;analyzers;compiler;tooling;editor;</PackageTags>
</PropertyGroup>

</Project>
14 changes: 14 additions & 0 deletions FSharp.Analyzers.SDK.sln
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{
EndProject
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "OptionAnalyzer.Test", "samples\OptionAnalyzer.Test\OptionAnalyzer.Test.fsproj", "{9A9AC3F8-E34B-4C30-A52A-A507D6E0CA01}"
EndProject
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "FSharp.Analyzers.SDK.Testing", "src\FSharp.Analyzers.SDK.Testing\FSharp.Analyzers.SDK.Testing.fsproj", "{3C70D1B2-DDCE-439A-BAB2-AC6B2E0919D5}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -97,6 +99,18 @@ Global
{9A9AC3F8-E34B-4C30-A52A-A507D6E0CA01}.Release|x64.Build.0 = Release|Any CPU
{9A9AC3F8-E34B-4C30-A52A-A507D6E0CA01}.Release|x86.ActiveCfg = Release|Any CPU
{9A9AC3F8-E34B-4C30-A52A-A507D6E0CA01}.Release|x86.Build.0 = Release|Any CPU
{3C70D1B2-DDCE-439A-BAB2-AC6B2E0919D5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3C70D1B2-DDCE-439A-BAB2-AC6B2E0919D5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3C70D1B2-DDCE-439A-BAB2-AC6B2E0919D5}.Debug|x64.ActiveCfg = Debug|Any CPU
{3C70D1B2-DDCE-439A-BAB2-AC6B2E0919D5}.Debug|x64.Build.0 = Debug|Any CPU
{3C70D1B2-DDCE-439A-BAB2-AC6B2E0919D5}.Debug|x86.ActiveCfg = Debug|Any CPU
{3C70D1B2-DDCE-439A-BAB2-AC6B2E0919D5}.Debug|x86.Build.0 = Debug|Any CPU
{3C70D1B2-DDCE-439A-BAB2-AC6B2E0919D5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3C70D1B2-DDCE-439A-BAB2-AC6B2E0919D5}.Release|Any CPU.Build.0 = Release|Any CPU
{3C70D1B2-DDCE-439A-BAB2-AC6B2E0919D5}.Release|x64.ActiveCfg = Release|Any CPU
{3C70D1B2-DDCE-439A-BAB2-AC6B2E0919D5}.Release|x64.Build.0 = Release|Any CPU
{3C70D1B2-DDCE-439A-BAB2-AC6B2E0919D5}.Release|x86.ActiveCfg = Release|Any CPU
{3C70D1B2-DDCE-439A-BAB2-AC6B2E0919D5}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{C1D38B7A-0193-46AA-B033-ADBBF642AAA0} = {95A9FA19-723D-4D2C-A936-F0B45656B0D6}
Expand Down
1 change: 1 addition & 0 deletions samples/OptionAnalyzer.Test/OptionAnalyzer.Test.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\FSharp.Analyzers.SDK.Testing\FSharp.Analyzers.SDK.Testing.fsproj" />
<ProjectReference Include="..\..\src\FSharp.Analyzers.SDK\FSharp.Analyzers.SDK.fsproj" />
<ProjectReference Include="..\OptionAnalyzer\OptionAnalyzer.fsproj" />
</ItemGroup>
Expand Down
11 changes: 9 additions & 2 deletions samples/OptionAnalyzer.Test/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -469,13 +469,20 @@
"fsharp.analyzers.sdk": {
"type": "Project",
"dependencies": {
"CliWrap": "[3.6.4, )",
"FSharp.Compiler.Service": "[43.7.400, )",
"FSharp.Core": "[7.0.400, )",
"MSBuild.StructuredLogger": "[2.1.815, )",
"McMaster.NETCore.Plugins": "[1.4.0, )"
}
},
"fsharp.analyzers.sdk.testing": {
"type": "Project",
"dependencies": {
"CliWrap": "[3.6.4, )",
"FSharp.Analyzers.SDK": "[1.0.0, )",
"FSharp.Compiler.Service": "[43.7.400, )",
"MSBuild.StructuredLogger": "[2.1.815, )"
}
},
"optionanalyzer": {
"type": "Project",
"dependencies": {
Expand Down
Loading

0 comments on commit 60e6f16

Please sign in to comment.