Add extension type to dotnet projectionist config

pull/1/head
Ensar Sarajčić 2021-05-21 22:11:06 +02:00
parent 37c954c329
commit a572236327
1 changed files with 8 additions and 0 deletions

View File

@ -166,6 +166,10 @@ local dotnet_solution_config = {
type = "service",
alternate = "tests/{dirname}.Tests/Services/{basename}Tests.cs"
},
["src/**/Extensions/*.cs"] = {
type = "extension",
alternate = "tests/{dirname}.Tests/Extensions/{basename}Tests.cs"
},
["src/**/appsettings*json"] = {
type = "appsettings"
},
@ -203,6 +207,10 @@ local dotnet_solution_config = {
type = "test",
alternate = "src/{dirname}/Services/{basename}.cs"
},
["tests/**.Tests/Extensions/*Tests.cs"] = {
type = "test",
alternate = "src/{dirname}/Extensions/{basename}.cs"
},
["tests/**/*Tests.cs"] = {
type = "test",
alternate = "src/{dirname}/{basename}.cs",