Skip to content

Commit d055b9f

Browse files
committed
update building script in Windows
1 parent 10d6734 commit d055b9f

File tree

4 files changed

+20
-3
lines changed

4 files changed

+20
-3
lines changed

.vscode/tasks.json

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
{
55
"type": "shell",
66
"command": "./buildClient.sh",
7+
"windows": {
8+
"command": ".\\buildClient.bat"
9+
},
710
"group": {
811
"kind": "build",
912
"isDefault": true

buildClient.bat

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
@echo off
2+
3+
echo Building VS Code Extension Client...
4+
5+
echo Compiling TypeScript...
6+
cd client
7+
call npm i
8+
call npm run build
9+
10+
echo Building Addon Manager WebVue...
11+
cd webvue
12+
call npm i
13+
call npm run build
14+
15+
echo Build complete!

client/package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
"publisher": "vscode",
88
"scripts": {
99
"lint": "npx eslint src/",
10-
"build": "tsc",
11-
"postbuild": "cp package*.json out && cd out && npm ci --omit=dev"
10+
"build": "tsc"
1211
},
1312
"repository": {
1413
"type": "git",

node_modules/.package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)