Files
codeql/codeql-tools/tracing-config.lua
2021-11-15 12:35:53 +01:00

17 lines
731 B
Lua

function RegisterExtractorPack()
local goExtractor = GetPlatformToolsDirectory() .. 'go-extractor'
if OperatingSystem == 'windows' then
goExtractor = GetPlatformToolsDirectory() .. 'go-extractor.exe'
end
return {
CreatePatternMatcher({'^go-autobuilder$', '^go-autobuilder%.exe$'},
MatchCompilerName, nil, {trace = false}),
CreatePatternMatcher({'^go$', '^go%.exe$'}, MatchCompilerName,
goExtractor, {prepend = {'--mimic', '${compiler}'}})
}
end
-- Return a list of minimum supported versions of the configuration file format
-- return one entry per supported major version.
function GetCompatibleVersions() return {'1.0.0'} end