[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/github/codeql-go/codeql-cli-2.9.2/codeql-tools/tracing-config.lua [Back]  [Original]

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

Web Proxy Viewer  |  New URL  |  Original Page