aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers/lua/dummy-registry/dummy_package.lua
blob: 4fbaf44d44da9fb77b325decec5e64bdaf390b52 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
local Pkg = require "mason-core.package"

return Pkg:new {
    schema = "registry+v1",
    name = "dummy",
    description = [[This is a dummy package.]],
    homepage = "https://example.com",
    licenses = { Pkg.License.MIT },
    languages = { Pkg.Lang.DummyLang },
    categories = { Pkg.Cat.LSP },
    source = {
        id = "pkg:mason/dummy@1.0.0",
        ---@async
        ---@param ctx InstallContext
        install = function(ctx) end,
    },
}