mirror of
https://github.com/Myzel394/config-lsp.git
synced 2025-06-18 23:15:26 +02:00
fix(extension): Improve for darwin
This commit is contained in:
parent
b9f7a452f8
commit
0005d7bf71
@ -58,7 +58,11 @@
|
||||
mkdir -p $out/bin
|
||||
cp $src/bin/config-lsp $out/bin/
|
||||
chmod +rw $out/bin/config-lsp
|
||||
upx --ultra-brute $out/bin/config-lsp
|
||||
|
||||
# upx is currently not supported for darwin
|
||||
if [ "${system}" != "x86_64-darwin" ] && [ "${system}" != "aarch64-darwin" ]; then
|
||||
upx --ultra-brute $out/bin/config-lsp
|
||||
fi
|
||||
'';
|
||||
};
|
||||
in {
|
||||
@ -74,7 +78,7 @@
|
||||
yarnNix = ./vs-code-extension/yarn.nix;
|
||||
|
||||
buildPhase = ''
|
||||
yarn --offline run compile
|
||||
yarn --offline run compile:prod
|
||||
'';
|
||||
installPhase = ''
|
||||
mkdir -p extension
|
||||
|
@ -1,21 +0,0 @@
|
||||
.vscode/**
|
||||
**/*.ts
|
||||
**/*.map
|
||||
.gitignore
|
||||
**/tsconfig.json
|
||||
**/tsconfig.base.json
|
||||
contributing.md
|
||||
.travis.yml
|
||||
client/node_modules/**
|
||||
!client/node_modules/vscode-jsonrpc/**
|
||||
!client/node_modules/vscode-languageclient/**
|
||||
!client/node_modules/vscode-languageserver-protocol/**
|
||||
!client/node_modules/vscode-languageserver-types/**
|
||||
!client/node_modules/semver/**
|
||||
|
||||
flake.nix
|
||||
build-extension.sh
|
||||
yarn.nix
|
||||
.idea
|
||||
esbuild.js
|
||||
|
@ -21,6 +21,12 @@
|
||||
"color": "#C8ACA3",
|
||||
"theme": "dark"
|
||||
},
|
||||
"files": [
|
||||
"out",
|
||||
"package.json",
|
||||
"LICENSE.md",
|
||||
"icon.png"
|
||||
],
|
||||
"keywords": [
|
||||
"config",
|
||||
"lsp",
|
||||
|
Loading…
x
Reference in New Issue
Block a user