C#: Also inject dotnet (pack|test|run)

This commit is contained in:
Tom Hvitved
2022-09-02 14:17:23 +02:00
parent 7c12139c9e
commit 99d9fe14c8

View File

@@ -31,7 +31,8 @@ function RegisterExtractorPack(id)
local firstCharacter = string.sub(arg, 1, 1)
if not (firstCharacter == '-') and not (firstCharacter == '/') then
Log(1, 'Dotnet subcommand detected: %s', arg)
if arg == 'build' or arg == 'msbuild' or arg == 'publish' then match = true end
if arg == 'build' or arg == 'msbuild' or arg == 'publish' or arg == 'pack' or arg == 'test' or
arg == 'run' then match = true end
break
end
end