aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers/lua/dummy2_package.lua
blob: 424e47d75059087fbaef988f3c3735d63a84be34 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
local Pkg = require "mason-core.package"

return Pkg.new {
    name = "dummy2",
    desc = [[This is a dummy2 package.]],
    categories = { Pkg.Cat.LSP },
    languages = { Pkg.Lang.Dummy2Lang },
    homepage = "https://example.com",
    ---@async
    ---@param ctx InstallContext
    install = function(ctx)
        ctx.receipt:with_primary_source { type = "dummy2" }
    end,
}