浏览代码

wip: testing windows-build-tools

Baptiste Augrain 1 年之前
父节点
当前提交
5f055bf5ae
共有 1 个文件被更改,包括 2 次插入3 次删除
  1. 2 3
      prepare_vscode.sh

+ 2 - 3
prepare_vscode.sh

@@ -68,6 +68,8 @@ if [[ "${OS_NAME}" == "osx" ]]; then
   yarn postinstall
 else
   if [[ "${OS_NAME}" == "windows" ]]; then
+    npm install --global --production windows-build-tools
+
     # TODO: Should be replaced with upstream URL once https://github.com/nodejs/node-gyp/pull/2825
     # gets merged.
     rm -rf .build/node-gyp
@@ -91,9 +93,6 @@ else
     export npm_config_arm_version=7
   fi
 
-  echo "${PATH}"
-  echo "${PYTHON}"
-
   CHILD_CONCURRENCY=1 yarn --frozen-lockfile --check-files --network-timeout 180000
 fi