From 381ebac81e67c40b59b7ad10186781c59aac3f82 Mon Sep 17 00:00:00 2001 From: Meir Blachman Date: Thu, 8 Jun 2023 09:48:39 +0300 Subject: [PATCH] chore: move solution file to root (#197) --- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 2 +- ...Analyzers.sln => FluentAssertions.Analyzers.sln | 14 +++++++------- README.md | 4 ++-- 4 files changed, 11 insertions(+), 11 deletions(-) rename src/FluentAssertions.Analyzers.sln => FluentAssertions.Analyzers.sln (78%) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4dad6079..8a6b60d3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,5 +20,5 @@ jobs: uses: actions/setup-dotnet@v3 with: dotnet-version: 6.0.x - - run: dotnet test src --configuration Release --filter 'TestCategory=Completed' + - run: dotnet test --configuration Release --filter 'TestCategory=Completed' - run: dotnet pack src/FluentAssertions.Analyzers/FluentAssertions.Analyzers.csproj diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d07bc2a9..ed19eee6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,7 @@ jobs: dotnet-version: '6.x' - name: Restore dependencies - run: dotnet restore src + run: dotnet restore - name: Build & Pack NuGet package shell: pwsh diff --git a/src/FluentAssertions.Analyzers.sln b/FluentAssertions.Analyzers.sln similarity index 78% rename from src/FluentAssertions.Analyzers.sln rename to FluentAssertions.Analyzers.sln index 7fec7529..6a3d768e 100644 --- a/src/FluentAssertions.Analyzers.sln +++ b/FluentAssertions.Analyzers.sln @@ -2,18 +2,18 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 15 VisualStudioVersion = 15.0.27004.2002 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FluentAssertions.Analyzers.Tests", "FluentAssertions.Analyzers.Tests\FluentAssertions.Analyzers.Tests.csproj", "{979824BD-5936-4969-B43B-BF613B3C0C5F}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FluentAssertions.Analyzers.Tests", "src\FluentAssertions.Analyzers.Tests\FluentAssertions.Analyzers.Tests.csproj", "{979824BD-5936-4969-B43B-BF613B3C0C5F}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SolutionItems", "SolutionItems", "{1D2F0A0B-7B98-49D6-BD83-E750A2DD7FD0}" ProjectSection(SolutionItems) = preProject - ..\.gitattributes = ..\.gitattributes - ..\.gitignore = ..\.gitignore - ..\.github\workflows\ci.yml = ..\.github\workflows\ci.yml - ..\LICENSE = ..\LICENSE - ..\README.md = ..\README.md + .gitattributes = .gitattributes + .gitignore = .gitignore + .github\workflows\ci.yml = .github\workflows\ci.yml + LICENSE = LICENSE + README.md = README.md EndProjectSection EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FluentAssertions.Analyzers", "FluentAssertions.Analyzers\FluentAssertions.Analyzers.csproj", "{3BA672F7-00D8-4E77-89A0-D46DD99D35AA}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FluentAssertions.Analyzers", "src\FluentAssertions.Analyzers\FluentAssertions.Analyzers.csproj", "{3BA672F7-00D8-4E77-89A0-D46DD99D35AA}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/README.md b/README.md index 6e101daf..2d845b27 100644 --- a/README.md +++ b/README.md @@ -29,13 +29,13 @@ Install-Package FluentAssertions.Analyzers ### Build ```bash -dotnet build src +dotnet build ``` ### Tests ```bash -dotnet test src --configuration Release --filter 'TestCategory=Completed' +dotnet test --configuration Release --filter 'TestCategory=Completed' ``` ## Example Usages