diff options
| author | William Boman <william@redwill.se> | 2023-04-06 00:09:09 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-05 22:09:09 +0000 |
| commit | 0b66d6c5fa3fb8a36c76e8d2621e282e978dd5f8 (patch) | |
| tree | 8ea49017165b5c422ae650ce49a981302da29463 /lua/mason-registry/index/mockdebug/init.lua | |
| parent | feat(registry): add ability to register package aliases (#1146) (diff) | |
| download | mason-0b66d6c5fa3fb8a36c76e8d2621e282e978dd5f8.tar mason-0b66d6c5fa3fb8a36c76e8d2621e282e978dd5f8.tar.gz mason-0b66d6c5fa3fb8a36c76e8d2621e282e978dd5f8.tar.bz2 mason-0b66d6c5fa3fb8a36c76e8d2621e282e978dd5f8.tar.lz mason-0b66d6c5fa3fb8a36c76e8d2621e282e978dd5f8.tar.xz mason-0b66d6c5fa3fb8a36c76e8d2621e282e978dd5f8.tar.zst mason-0b66d6c5fa3fb8a36c76e8d2621e282e978dd5f8.zip | |
chore: migrate packages (#1182)
Diffstat (limited to 'lua/mason-registry/index/mockdebug/init.lua')
| -rw-r--r-- | lua/mason-registry/index/mockdebug/init.lua | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/lua/mason-registry/index/mockdebug/init.lua b/lua/mason-registry/index/mockdebug/init.lua deleted file mode 100644 index 3f5b3171..00000000 --- a/lua/mason-registry/index/mockdebug/init.lua +++ /dev/null @@ -1,31 +0,0 @@ -local Optional = require "mason-core.optional" -local Pkg = require "mason-core.package" -local _ = require "mason-core.functional" -local git = require "mason-core.managers.git" -local github = require "mason-core.managers.github" -local path = require "mason-core.path" - -return Pkg.new { - name = "mockdebug", - desc = _.dedent [[ - Mock Debug simulates a debug adapter. It supports step, continue, breakpoints, exceptions, and variable access - but it is not connected to any real debugger. - ]], - homepage = "https://github.com/microsoft/vscode-mock-debug", - languages = {}, - categories = { Pkg.Cat.DAP }, - ---@async - ---@param ctx InstallContext - install = function(ctx) - local source = github.tag { repo = "microsoft/vscode-mock-debug" } - source.with_receipt() - git.clone { "https://github.com/microsoft/vscode-mock-debug", version = Optional.of(source.tag) } - ctx.spawn.npm { "install" } - ctx.spawn.npm { "run", "compile" } - ctx.spawn.npm { "install", "--production" } - ctx:link_bin( - "mock-debug-adapter", - ctx:write_node_exec_wrapper("mock-debug-adapter", path.concat { "out", "debugAdapter.js" }) - ) - end, -} |
