From 4e37ca971be578cc6d63c0c8e6f744f2b7e924b3 Mon Sep 17 00:00:00 2001 From: alemi Date: Mon, 3 Jul 2023 01:40:14 +0200 Subject: [PATCH] build: simple script to make simple .vsix --- client/vscode/.bundle.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 client/vscode/.bundle.sh diff --git a/client/vscode/.bundle.sh b/client/vscode/.bundle.sh new file mode 100755 index 0000000..612c707 --- /dev/null +++ b/client/vscode/.bundle.sh @@ -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/