Skip to content

Commit

Permalink
grrrr
Browse files Browse the repository at this point in the history
  • Loading branch information
belav committed Nov 16, 2023
1 parent 118dc06 commit bbb4625
Show file tree
Hide file tree
Showing 10 changed files with 65 additions and 14 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/validate_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v3
- run: |
rm -r -f ./Tests/CSharpier.MsBuild.Test
dotnet tool restore
dotnet csharpier . --check
test_msbuild:
Expand All @@ -33,5 +34,5 @@ jobs:
- uses: actions/setup-dotnet@v3
- run: |
dotnet pack Src/CSharpier.MsBuild/CSharpier.MsBuild.csproj -o nupkg /p:Version=0.0.1
dotnet build Src/Tests/CSharpier.MsBuild.Test
docker build -f ./Tests/CSharpier.MsBuild.Test/Dockerfile .
13 changes: 13 additions & 0 deletions Tests/CSharpier.MsBuild.Test/.idea/.idea.Test/.idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Tests/CSharpier.MsBuild.Test/.idea/.idea.Test/.idea/.name

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions Tests/CSharpier.MsBuild.Test/.idea/.idea.Test/.idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 3 additions & 7 deletions Tests/CSharpier.MsBuild.Test/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS base

COPY
COPY ./nupkg ./nupkg
COPY ./Tests/CSharpier.MsBuild.Test ./Tests/CSharpier.MsBuild.Test

COPY nupkg ./nupkg
COPY Src/CSharpier.MsBuild.Test ./Src/CSharpier.MsBuild.Test

WORKDIR Src/CSharpier.MsBuild.Test

RUN dotnet build -c Release
RUN dotnet build Tests/CSharpier.MsBuild.Test -c Release
27 changes: 27 additions & 0 deletions Tests/CSharpier.MsBuild.Test/Test.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
Microsoft Visual Studio Solution File, Format Version 12.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "net8.0", "net8.0\net8.0.csproj", "{8D0B3F99-1F30-48D9-BCA2-082FBD34E718}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "net7.0", "net7.0\net7.0.csproj", "{86D709CC-6B25-4574-8376-B5EC1AA35FA4}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "net48", "net48\net48.csproj", "{C0423F42-4ABD-4BBB-9458-15D7AED8AD94}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{8D0B3F99-1F30-48D9-BCA2-082FBD34E718}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8D0B3F99-1F30-48D9-BCA2-082FBD34E718}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8D0B3F99-1F30-48D9-BCA2-082FBD34E718}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8D0B3F99-1F30-48D9-BCA2-082FBD34E718}.Release|Any CPU.Build.0 = Release|Any CPU
{86D709CC-6B25-4574-8376-B5EC1AA35FA4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{86D709CC-6B25-4574-8376-B5EC1AA35FA4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{86D709CC-6B25-4574-8376-B5EC1AA35FA4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{86D709CC-6B25-4574-8376-B5EC1AA35FA4}.Release|Any CPU.Build.0 = Release|Any CPU
{C0423F42-4ABD-4BBB-9458-15D7AED8AD94}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C0423F42-4ABD-4BBB-9458-15D7AED8AD94}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C0423F42-4ABD-4BBB-9458-15D7AED8AD94}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C0423F42-4ABD-4BBB-9458-15D7AED8AD94}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
5 changes: 0 additions & 5 deletions Tests/CSharpier.MsBuild.Test/dirs.csproj

This file was deleted.

2 changes: 1 addition & 1 deletion Tests/CSharpier.MsBuild.Test/nuget.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="Test Source" value="../../nupkg" />
<add key="Local" value="../../nupkg" />
</packageSources>
</configuration>

0 comments on commit bbb4625

Please sign in to comment.