build: simple script to make simple .vsix

This commit is contained in:
əlemi 2023-07-03 01:40:14 +02:00
parent e2176fd1fc
commit 4e37ca971b

13
client/vscode/.bundle.sh Executable file
View file

@ -0,0 +1,13 @@
#!/bin/sh
rm codemp.vsix
mkdir -p .vsix/extension
cp package.json .vsix/extension/package.json
cp README.md .vsix/extension/README.md
mkdir .vsix/extension/out
cp -R src/*.js .vsix/extension/out
cp -R index.node .vsix/extension/out/codemp.node
cd .vsix/
zip ../codemp.vsix -r *
cd ..
rm -rf .vsix/