Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 20 additions & 2 deletions DotNetApiDiff.sln
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
Microsoft Visual Studio Solution File, Format Version 12.00
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotNetApiDiff", "src\DotNetApiDiff\DotNetApiDiff.csproj", "{A1B2C3D4-E5F6-7890-ABCD-EF1234567890}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotNetApiDiff.Tests", "tests\DotNetApiDiff.Tests\DotNetApiDiff.Tests.csproj", "{B2C3D4E5-F6G7-8901-BCDE-F23456789012}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{9E9A40DF-93D7-4C97-A4B2-EFD48382576D}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestAssemblyV1", "tests\TestAssemblies\TestAssemblyV1.csproj", "{5E8D074B-6E7B-4730-BBBE-4E81841DA8D2}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestAssemblyV2", "tests\TestAssemblies\TestAssemblyV2.csproj", "{4EAC9034-1137-4E2A-A70B-D8CEB248F107}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -20,5 +26,17 @@ Global
{B2C3D4E5-F6G7-8901-BCDE-F23456789012}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B2C3D4E5-F6G7-8901-BCDE-F23456789012}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B2C3D4E5-F6G7-8901-BCDE-F23456789012}.Release|Any CPU.Build.0 = Release|Any CPU
{5E8D074B-6E7B-4730-BBBE-4E81841DA8D2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5E8D074B-6E7B-4730-BBBE-4E81841DA8D2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5E8D074B-6E7B-4730-BBBE-4E81841DA8D2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5E8D074B-6E7B-4730-BBBE-4E81841DA8D2}.Release|Any CPU.Build.0 = Release|Any CPU
{4EAC9034-1137-4E2A-A70B-D8CEB248F107}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4EAC9034-1137-4E2A-A70B-D8CEB248F107}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4EAC9034-1137-4E2A-A70B-D8CEB248F107}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4EAC9034-1137-4E2A-A70B-D8CEB248F107}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{5E8D074B-6E7B-4730-BBBE-4E81841DA8D2} = {9E9A40DF-93D7-4C97-A4B2-EFD48382576D}
{4EAC9034-1137-4E2A-A70B-D8CEB248F107} = {9E9A40DF-93D7-4C97-A4B2-EFD48382576D}
EndGlobalSection
EndGlobal
EndGlobal
17 changes: 17 additions & 0 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ vars:
SOLUTION: DotNetApiDiff.sln
PROJECT: src/DotNetApiDiff/DotNetApiDiff.csproj
TEST_PROJECT: tests/DotNetApiDiff.Tests/DotNetApiDiff.Tests.csproj
TEST_ASSEMBLIES_DIR: tests/TestAssemblies
COVERAGE_DIR: coverage-report
TEST_REPORT_DIR: test-report

Expand All @@ -21,11 +22,25 @@ tasks:
cmds:
- dotnet build {{.SOLUTION}} --configuration Release

build:test-assemblies:
desc: Build test assemblies and copy to TestData
cmds:
- cd {{.TEST_ASSEMBLIES_DIR}} && ./build-test-assemblies.sh

clean:test-assemblies:
desc: Clean test assemblies build outputs
cmds:
- dotnet clean {{.TEST_ASSEMBLIES_DIR}}/TestAssemblyV1.csproj
- dotnet clean {{.TEST_ASSEMBLIES_DIR}}/TestAssemblyV2.csproj
- rm -f tests/DotNetApiDiff.Tests/TestData/TestAssemblyV1.dll
- rm -f tests/DotNetApiDiff.Tests/TestData/TestAssemblyV2.dll

clean:
desc: Clean build outputs
cmds:
- dotnet clean {{.SOLUTION}}
- task: clean:coverage
- task: clean:test-assemblies

clean:coverage:
desc: Clean coverage reports
Expand All @@ -49,6 +64,7 @@ tasks:

test:integration:
desc: Run integration tests only
deps: [build:test-assemblies]
cmds:
- dotnet test {{.TEST_PROJECT}} --filter "Category=Integration" --configuration Release

Expand Down Expand Up @@ -213,5 +229,6 @@ tasks:
- task: restore
- task: code:quality
- task: build
- task: build:test-assemblies
- task: test
- task: coverage
Loading
Loading