diff options
| author | William Boman <william@redwill.se> | 2022-07-25 11:11:00 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-25 09:11:00 +0000 |
| commit | e61d2b7ba0ed392f6851bcdd4ed992694d4f4810 (patch) | |
| tree | a19cd7e282fb6d173e024bc74e7d0ede0a92c1d3 /lua | |
| parent | feat: add hadolint (#128) (diff) | |
| download | mason-e61d2b7ba0ed392f6851bcdd4ed992694d4f4810.tar mason-e61d2b7ba0ed392f6851bcdd4ed992694d4f4810.tar.gz mason-e61d2b7ba0ed392f6851bcdd4ed992694d4f4810.tar.bz2 mason-e61d2b7ba0ed392f6851bcdd4ed992694d4f4810.tar.lz mason-e61d2b7ba0ed392f6851bcdd4ed992694d4f4810.tar.xz mason-e61d2b7ba0ed392f6851bcdd4ed992694d4f4810.tar.zst mason-e61d2b7ba0ed392f6851bcdd4ed992694d4f4810.zip | |
fix(firefox-debug-adapter): don't apply outdated patch (#135)
Closes #134.
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/mason-registry/firefox-debug-adapter/init.lua | 1 | ||||
| -rw-r--r-- | lua/mason-registry/firefox-debug-adapter/patches.lua | 32 |
2 files changed, 0 insertions, 33 deletions
diff --git a/lua/mason-registry/firefox-debug-adapter/init.lua b/lua/mason-registry/firefox-debug-adapter/init.lua index 13dcf7f7..8606f1bf 100644 --- a/lua/mason-registry/firefox-debug-adapter/init.lua +++ b/lua/mason-registry/firefox-debug-adapter/init.lua @@ -17,7 +17,6 @@ return Pkg.new { local source = github.tag { repo = "firefox-devtools/vscode-firefox-debug" } source.with_receipt() git.clone { "https://github.com/firefox-devtools/vscode-firefox-debug", version = Optional.of(source.tag) } - ctx:apply_patches(require "mason-registry.firefox-debug-adapter.patches") ctx.spawn.npm { "install" } ctx.spawn.npm { "run", "build" } ctx.spawn.npm { "install", "--production" } diff --git a/lua/mason-registry/firefox-debug-adapter/patches.lua b/lua/mason-registry/firefox-debug-adapter/patches.lua deleted file mode 100644 index 09896fdf..00000000 --- a/lua/mason-registry/firefox-debug-adapter/patches.lua +++ /dev/null @@ -1,32 +0,0 @@ -local fix_macos_build = [=====[ ---- a/webpack.config.js -+++ b/webpack.config.js -@@ -1,6 +1,14 @@ - const path = require('path'); - const CopyPlugin = require('copy-webpack-plugin'); - -+const externals = { -+ vscode: 'commonjs vscode', -+}; -+ -+if (process.platform === "darwin") { -+ externals["fsevents"] = 'commonjs fsevents'; -+} -+ - module.exports = { - context: path.resolve(__dirname, 'src'), - entry: { -@@ -19,9 +27,7 @@ module.exports = { - } - ] - }, -- externals: { -- vscode: 'commonjs vscode' -- }, -+ externals, - output: { - path: path.resolve(__dirname, 'dist'), - filename: '[name].bundle.js', -]=====] - -return { fix_macos_build } |
