aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers/lua/dummy_package.lua
blob: b38d1cd834d63c72bfce6de30794659b9fe21f5f (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 = "dummy",
    desc = [[This is a dummy package.]],
    categories = { Pkg.Cat.LSP },
    languages = { Pkg.Lang.DummyLang },
    homepage = "https://example.com",
    ---@async
    ---@param ctx InstallContext
    install = function(ctx)
        ctx.receipt:with_primary_source { type = "dummy" }
    end,
}