diff options
| author | William Boman <william@redwill.se> | 2023-04-08 14:29:03 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-08 14:29:03 +0200 |
| commit | 802ec71625dac8c6a9617b22abdda5e9bf3f6717 (patch) | |
| tree | afe053439aeeff642e5f450b58a2d0dd842b1d44 /lua/mason-registry/index/php-debug-adapter/init.lua | |
| parent | fix(powershell): close stdin (#1197) (diff) | |
| download | mason-802ec71625dac8c6a9617b22abdda5e9bf3f6717.tar mason-802ec71625dac8c6a9617b22abdda5e9bf3f6717.tar.gz mason-802ec71625dac8c6a9617b22abdda5e9bf3f6717.tar.bz2 mason-802ec71625dac8c6a9617b22abdda5e9bf3f6717.tar.lz mason-802ec71625dac8c6a9617b22abdda5e9bf3f6717.tar.xz mason-802ec71625dac8c6a9617b22abdda5e9bf3f6717.tar.zst mason-802ec71625dac8c6a9617b22abdda5e9bf3f6717.zip | |
chore: migrate packages (#1198)
Diffstat (limited to 'lua/mason-registry/index/php-debug-adapter/init.lua')
| -rw-r--r-- | lua/mason-registry/index/php-debug-adapter/init.lua | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/lua/mason-registry/index/php-debug-adapter/init.lua b/lua/mason-registry/index/php-debug-adapter/init.lua deleted file mode 100644 index 7aafd17d..00000000 --- a/lua/mason-registry/index/php-debug-adapter/init.lua +++ /dev/null @@ -1,27 +0,0 @@ -local Pkg = require "mason-core.package" -local _ = require "mason-core.functional" -local github = require "mason-core.managers.github" -local path = require "mason-core.path" - -return Pkg.new { - name = "php-debug-adapter", - desc = [[PHP Debug Adapter 🐞⛔]], - homepage = "https://github.com/xdebug/vscode-php-debug", - languages = { Pkg.Lang.PHP }, - categories = { Pkg.Cat.DAP }, - ---@async - ---@param ctx InstallContext - install = function(ctx) - github - .unzip_release_file({ - repo = "xdebug/vscode-php-debug", - asset_file = _.compose(_.format "php-debug-%s.vsix", _.gsub("^v", "")), - }) - .with_receipt() - ctx.fs:rmrf(path.concat { "extension", "images" }) - ctx:link_bin( - "php-debug-adapter", - ctx:write_node_exec_wrapper("php-debug-adapter", path.concat { "extension", "out", "phpDebug.js" }) - ) - end, -} |
