diff options
| author | William Boman <william@redwill.se> | 2022-07-13 03:34:33 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-13 01:34:33 +0000 |
| commit | 720016d4fa525770d13e0933b05c919a5939622c (patch) | |
| tree | cb2885c26c0104c1398b26cc387e3eb264faaed1 /tests/helpers/lua/dummy2_package.lua | |
| parent | feat: add cspell spell checker (#65) (diff) | |
| download | mason-720016d4fa525770d13e0933b05c919a5939622c.tar mason-720016d4fa525770d13e0933b05c919a5939622c.tar.gz mason-720016d4fa525770d13e0933b05c919a5939622c.tar.bz2 mason-720016d4fa525770d13e0933b05c919a5939622c.tar.lz mason-720016d4fa525770d13e0933b05c919a5939622c.tar.xz mason-720016d4fa525770d13e0933b05c919a5939622c.tar.zst mason-720016d4fa525770d13e0933b05c919a5939622c.zip | |
fix(api): fix the :MasonUninstall command (#66)
Diffstat (limited to 'tests/helpers/lua/dummy2_package.lua')
| -rw-r--r-- | tests/helpers/lua/dummy2_package.lua | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/helpers/lua/dummy2_package.lua b/tests/helpers/lua/dummy2_package.lua new file mode 100644 index 00000000..424e47d7 --- /dev/null +++ b/tests/helpers/lua/dummy2_package.lua @@ -0,0 +1,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, +} |
