Skip to content

Commit

Permalink
Merge pull request #85 from nsubstitute/GH-84-linux-support
Browse files Browse the repository at this point in the history
Gh 84 linux support
  • Loading branch information
tpodolak authored Apr 7, 2019
2 parents e645d3d + c702a33 commit 2d39f9d
Show file tree
Hide file tree
Showing 21 changed files with 472 additions and 327 deletions.
11 changes: 11 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Declare files that will always have CRLF line endings on checkout.
*.sln text eol=crlf
*.cs text eol=crlf
*.cake text eol=crlf
*.csproj text eol=crlf
*.ps1 text eol=crlf
*.sh text eol=lf

# Denote all files that are truly binary and should not be modified.
*.png binary
*.jpg binary
99 changes: 99 additions & 0 deletions NSubstitute.Analyzers.All.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@

Microsoft Visual Studio Solution File, Format Version 12.00
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{FB46CD9F-6E27-4767-AD1E-8C21CD08F993}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{0ED2F2A2-CF6E-4EED-8166-F22B5D7631F4}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NSubstitute.Analyzers.Shared", "src\NSubstitute.Analyzers.Shared\NSubstitute.Analyzers.Shared.csproj", "{2B7BF4D2-4964-4674-9268-70AE5A3C98DB}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NSubstitute.Analyzers.CSharp", "src\NSubstitute.Analyzers.CSharp\NSubstitute.Analyzers.CSharp.csproj", "{27CBFCE9-8E54-4EA1-8417-70BEB8F97E5B}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NSubstitute.Analyzers.Tests.Shared", "tests\NSubstitute.Analyzers.Tests.Shared\NSubstitute.Analyzers.Tests.Shared.csproj", "{4A3A7233-1AD4-4FA4-8ACA-04CC270DC2F7}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NSubstitute.Analyzers.Tests.CSharp", "tests\NSubstitute.Analyzers.Tests.CSharp\NSubstitute.Analyzers.Tests.CSharp.csproj", "{4FA76F86-FB64-4DD9-8F62-3508FB4544C8}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NSubstitute.Analyzers.VisualBasic", "src\NSubstitute.Analyzers.VisualBasic\NSubstitute.Analyzers.VisualBasic.csproj", "{94139977-A98F-4B19-B3AE-E1001F1EDF00}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NSubstitute.Analyzers.Tests.VisualBasic", "tests\NSubstitute.Analyzers.Tests.VisualBasic\NSubstitute.Analyzers.Tests.VisualBasic.csproj", "{00A000B8-B887-4216-92B2-E810616CE7A8}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NSubstitute.Analyzers.CSharp.Vsix", "src\NSubstitute.Analyzers.CSharp.Vsix\NSubstitute.Analyzers.CSharp.Vsix.csproj", "{4DF03310-98B3-450E-90FE-2EF423A6CC59}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NSubstitute.Analyzers.VisualBasic.Vsix", "src\NSubstitute.Analyzers.VisualBasic.Vsix\NSubstitute.Analyzers.VisualBasic.Vsix.csproj", "{0B098301-16AA-401B-ACAC-3D81189C18C6}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "documentation", "documentation", "{047744D1-7786-40B6-B246-1A78D018AF26}"
ProjectSection(SolutionItems) = preProject
documentation\Configuration.md = documentation\Configuration.md
documentation\README.md = documentation\README.md
documentation\rules\NS1000.md = documentation\rules\NS1000.md
documentation\rules\NS1001.md = documentation\rules\NS1001.md
documentation\rules\NS1002.md = documentation\rules\NS1002.md
documentation\rules\NS2000.md = documentation\rules\NS2000.md
documentation\rules\NS2001.md = documentation\rules\NS2001.md
documentation\rules\NS2002.md = documentation\rules\NS2002.md
documentation\rules\NS2003.md = documentation\rules\NS2003.md
documentation\rules\NS2004.md = documentation\rules\NS2004.md
documentation\rules\NS2005.md = documentation\rules\NS2005.md
documentation\rules\NS2006.md = documentation\rules\NS2006.md
documentation\rules\NS2007.md = documentation\rules\NS2007.md
documentation\rules\NS3000.md = documentation\rules\NS3000.md
documentation\rules\NS3001.md = documentation\rules\NS3001.md
documentation\rules\NS3002.md = documentation\rules\NS3002.md
documentation\rules\NS3003.md = documentation\rules\NS3003.md
documentation\rules\NS3004.md = documentation\rules\NS3004.md
documentation\rules\NS3005.md = documentation\rules\NS3005.md
documentation\rules\NS3006.md = documentation\rules\NS3006.md
documentation\rules\NS4000.md = documentation\rules\NS4000.md
documentation\rules\NS5000.md = documentation\rules\NS5000.md
documentation\rules\NS1003.md = documentation\rules\NS1003.md
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{2B7BF4D2-4964-4674-9268-70AE5A3C98DB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2B7BF4D2-4964-4674-9268-70AE5A3C98DB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2B7BF4D2-4964-4674-9268-70AE5A3C98DB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2B7BF4D2-4964-4674-9268-70AE5A3C98DB}.Release|Any CPU.Build.0 = Release|Any CPU
{27CBFCE9-8E54-4EA1-8417-70BEB8F97E5B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{27CBFCE9-8E54-4EA1-8417-70BEB8F97E5B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{27CBFCE9-8E54-4EA1-8417-70BEB8F97E5B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{27CBFCE9-8E54-4EA1-8417-70BEB8F97E5B}.Release|Any CPU.Build.0 = Release|Any CPU
{4A3A7233-1AD4-4FA4-8ACA-04CC270DC2F7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4A3A7233-1AD4-4FA4-8ACA-04CC270DC2F7}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4A3A7233-1AD4-4FA4-8ACA-04CC270DC2F7}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4A3A7233-1AD4-4FA4-8ACA-04CC270DC2F7}.Release|Any CPU.Build.0 = Release|Any CPU
{4FA76F86-FB64-4DD9-8F62-3508FB4544C8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4FA76F86-FB64-4DD9-8F62-3508FB4544C8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4FA76F86-FB64-4DD9-8F62-3508FB4544C8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4FA76F86-FB64-4DD9-8F62-3508FB4544C8}.Release|Any CPU.Build.0 = Release|Any CPU
{94139977-A98F-4B19-B3AE-E1001F1EDF00}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{94139977-A98F-4B19-B3AE-E1001F1EDF00}.Debug|Any CPU.Build.0 = Debug|Any CPU
{94139977-A98F-4B19-B3AE-E1001F1EDF00}.Release|Any CPU.ActiveCfg = Release|Any CPU
{94139977-A98F-4B19-B3AE-E1001F1EDF00}.Release|Any CPU.Build.0 = Release|Any CPU
{00A000B8-B887-4216-92B2-E810616CE7A8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{00A000B8-B887-4216-92B2-E810616CE7A8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{00A000B8-B887-4216-92B2-E810616CE7A8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{00A000B8-B887-4216-92B2-E810616CE7A8}.Release|Any CPU.Build.0 = Release|Any CPU
{4DF03310-98B3-450E-90FE-2EF423A6CC59}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4DF03310-98B3-450E-90FE-2EF423A6CC59}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4DF03310-98B3-450E-90FE-2EF423A6CC59}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4DF03310-98B3-450E-90FE-2EF423A6CC59}.Release|Any CPU.Build.0 = Release|Any CPU
{0B098301-16AA-401B-ACAC-3D81189C18C6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0B098301-16AA-401B-ACAC-3D81189C18C6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0B098301-16AA-401B-ACAC-3D81189C18C6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0B098301-16AA-401B-ACAC-3D81189C18C6}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{2B7BF4D2-4964-4674-9268-70AE5A3C98DB} = {FB46CD9F-6E27-4767-AD1E-8C21CD08F993}
{27CBFCE9-8E54-4EA1-8417-70BEB8F97E5B} = {FB46CD9F-6E27-4767-AD1E-8C21CD08F993}
{4A3A7233-1AD4-4FA4-8ACA-04CC270DC2F7} = {0ED2F2A2-CF6E-4EED-8166-F22B5D7631F4}
{4FA76F86-FB64-4DD9-8F62-3508FB4544C8} = {0ED2F2A2-CF6E-4EED-8166-F22B5D7631F4}
{94139977-A98F-4B19-B3AE-E1001F1EDF00} = {FB46CD9F-6E27-4767-AD1E-8C21CD08F993}
{00A000B8-B887-4216-92B2-E810616CE7A8} = {0ED2F2A2-CF6E-4EED-8166-F22B5D7631F4}
{4DF03310-98B3-450E-90FE-2EF423A6CC59} = {FB46CD9F-6E27-4767-AD1E-8C21CD08F993}
{0B098301-16AA-401B-ACAC-3D81189C18C6} = {FB46CD9F-6E27-4767-AD1E-8C21CD08F993}
EndGlobalSection
EndGlobal
14 changes: 0 additions & 14 deletions NSubstitute.Analyzers.sln
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NSubstitute.Analyzers.Visua
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NSubstitute.Analyzers.Tests.VisualBasic", "tests\NSubstitute.Analyzers.Tests.VisualBasic\NSubstitute.Analyzers.Tests.VisualBasic.csproj", "{00A000B8-B887-4216-92B2-E810616CE7A8}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NSubstitute.Analyzers.CSharp.Vsix", "src\NSubstitute.Analyzers.CSharp.Vsix\NSubstitute.Analyzers.CSharp.Vsix.csproj", "{4DF03310-98B3-450E-90FE-2EF423A6CC59}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NSubstitute.Analyzers.VisualBasic.Vsix", "src\NSubstitute.Analyzers.VisualBasic.Vsix\NSubstitute.Analyzers.VisualBasic.Vsix.csproj", "{0B098301-16AA-401B-ACAC-3D81189C18C6}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "documentation", "documentation", "{047744D1-7786-40B6-B246-1A78D018AF26}"
ProjectSection(SolutionItems) = preProject
documentation\Configuration.md = documentation\Configuration.md
Expand Down Expand Up @@ -78,14 +74,6 @@ Global
{00A000B8-B887-4216-92B2-E810616CE7A8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{00A000B8-B887-4216-92B2-E810616CE7A8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{00A000B8-B887-4216-92B2-E810616CE7A8}.Release|Any CPU.Build.0 = Release|Any CPU
{4DF03310-98B3-450E-90FE-2EF423A6CC59}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4DF03310-98B3-450E-90FE-2EF423A6CC59}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4DF03310-98B3-450E-90FE-2EF423A6CC59}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4DF03310-98B3-450E-90FE-2EF423A6CC59}.Release|Any CPU.Build.0 = Release|Any CPU
{0B098301-16AA-401B-ACAC-3D81189C18C6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0B098301-16AA-401B-ACAC-3D81189C18C6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0B098301-16AA-401B-ACAC-3D81189C18C6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0B098301-16AA-401B-ACAC-3D81189C18C6}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{2B7BF4D2-4964-4674-9268-70AE5A3C98DB} = {FB46CD9F-6E27-4767-AD1E-8C21CD08F993}
Expand All @@ -94,7 +82,5 @@ Global
{4FA76F86-FB64-4DD9-8F62-3508FB4544C8} = {0ED2F2A2-CF6E-4EED-8166-F22B5D7631F4}
{94139977-A98F-4B19-B3AE-E1001F1EDF00} = {FB46CD9F-6E27-4767-AD1E-8C21CD08F993}
{00A000B8-B887-4216-92B2-E810616CE7A8} = {0ED2F2A2-CF6E-4EED-8166-F22B5D7631F4}
{4DF03310-98B3-450E-90FE-2EF423A6CC59} = {FB46CD9F-6E27-4767-AD1E-8C21CD08F993}
{0B098301-16AA-401B-ACAC-3D81189C18C6} = {FB46CD9F-6E27-4767-AD1E-8C21CD08F993}
EndGlobalSection
EndGlobal
36 changes: 25 additions & 11 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,30 @@
image: Visual Studio 2017
image:
- Ubuntu
- Visual Studio 2017
# Build script
init:
- git config --global core.autocrlf true

# Build script
build_script:
- cd Build
- ps: >-
echo "Platform: $ENV:OS dotnet version: $(dotnet --version)"
- ps: .\build.ps1 -Configuration Release -Target AppVeyor

for:
-
matrix:
only:
- image: Ubuntu
test: off
build_script:
- cd build
- chmod +xxx ./build.sh
- ./build.sh --target="AppVeyor" --configuration=Release --UploadCoverageReport=False
-
matrix:
only:
- image: Visual Studio 2017
test: off
build_script:
- cd Build
- ps: >-
.\build.ps1 --target="AppVeyor" --configuration=Release --UploadCoverageReport=True
# Tests
test: off

Expand All @@ -26,4 +40,4 @@ branches:

# Build cache
cache:
- Build/tools -> Build/build.cake
- Build/tools -> Build/build.cake
Loading

0 comments on commit 2d39f9d

Please sign in to comment.