@@ -14,29 +14,32 @@ if [[ "${SHOULD_BUILD}" == "yes" ]]; then
14
14
15
15
export NODE_OPTIONS=" --max-old-space-size=8192"
16
16
17
- yarn monaco-compile-check
18
- yarn valid-layers-check
17
+ npm run monaco-compile-check
18
+ npm run valid-layers-check
19
19
20
- yarn gulp compile-build
21
- yarn gulp compile-extension-media
22
- yarn gulp compile-extensions-build
23
- yarn gulp minify-vscode
20
+ npm run gulp compile-build-without-mangling
21
+ npm run gulp compile-extension-media
22
+ npm run gulp compile-extensions-build
23
+ npm run gulp minify-vscode
24
24
25
25
if [[ " ${OS_NAME} " == " osx" ]]; then
26
- yarn gulp " vscode-darwin-${VSCODE_ARCH} -min-ci"
26
+ # generate Group Policy definitions
27
+ node build/lib/policies darwin
28
+
29
+ npm run gulp " vscode-darwin-${VSCODE_ARCH} -min-ci"
27
30
28
31
find " ../VSCode-darwin-${VSCODE_ARCH} " -print0 | xargs -0 touch -c
29
32
30
33
VSCODE_PLATFORM=" darwin"
31
34
elif [[ " ${OS_NAME} " == " windows" ]]; then
32
35
# generate Group Policy definitions
33
- node build/lib/policies
36
+ node build/lib/policies win32
34
37
35
38
# in CI, packaging will be done by a different job
36
39
if [[ " ${CI_BUILD} " == " no" ]]; then
37
40
. ../build/windows/rtf/make.sh
38
41
39
- yarn gulp " vscode-win32-${VSCODE_ARCH} -min-ci"
42
+ npm run gulp " vscode-win32-${VSCODE_ARCH} -min-ci"
40
43
41
44
if [[ " ${VSCODE_ARCH} " != " x64" ]]; then
42
45
SHOULD_BUILD_REH=" no"
@@ -48,7 +51,7 @@ if [[ "${SHOULD_BUILD}" == "yes" ]]; then
48
51
else # linux
49
52
# in CI, packaging will be done by a different job
50
53
if [[ " ${CI_BUILD} " == " no" ]]; then
51
- yarn gulp " vscode-linux-${VSCODE_ARCH} -min-ci"
54
+ npm run gulp " vscode-linux-${VSCODE_ARCH} -min-ci"
52
55
53
56
find " ../VSCode-linux-${VSCODE_ARCH} " -print0 | xargs -0 touch -c
54
57
fi
@@ -57,13 +60,13 @@ if [[ "${SHOULD_BUILD}" == "yes" ]]; then
57
60
fi
58
61
59
62
if [[ " ${SHOULD_BUILD_REH} " != " no" ]]; then
60
- yarn gulp minify-vscode-reh
61
- yarn gulp " vscode-reh-${VSCODE_PLATFORM} -${VSCODE_ARCH} -min-ci"
63
+ npm run gulp minify-vscode-reh
64
+ npm run gulp " vscode-reh-${VSCODE_PLATFORM} -${VSCODE_ARCH} -min-ci"
62
65
fi
63
66
64
67
if [[ " ${SHOULD_BUILD_REH_WEB} " != " no" ]]; then
65
- yarn gulp minify-vscode-reh-web
66
- yarn gulp " vscode-reh-web-${VSCODE_PLATFORM} -${VSCODE_ARCH} -min-ci"
68
+ npm run gulp minify-vscode-reh-web
69
+ npm run gulp " vscode-reh-web-${VSCODE_PLATFORM} -${VSCODE_ARCH} -min-ci"
67
70
fi
68
71
69
72
cd ..
0 commit comments