зеркало из https://github.com/electron/electron.git
build: fix global npm install
This commit is contained in:
Родитель
5c298211f1
Коммит
7f94e9a36c
|
@ -68,7 +68,7 @@ build_script:
|
||||||
- ps: $env:PATH="$pwd\depot_tools;$env:PATH"
|
- ps: $env:PATH="$pwd\depot_tools;$env:PATH"
|
||||||
- update_depot_tools.bat
|
- update_depot_tools.bat
|
||||||
# Uncomment the following line if windows deps change
|
# Uncomment the following line if windows deps change
|
||||||
# - src\electron\script\setup-win-for-dev.bat
|
- src\electron\script\setup-win-for-dev.bat
|
||||||
- >-
|
- >-
|
||||||
gclient config
|
gclient config
|
||||||
--name "src\electron"
|
--name "src\electron"
|
||||||
|
|
|
@ -61,6 +61,7 @@ choco install -y python2 git yarn
|
||||||
choco install python --version 3.7.9
|
choco install python --version 3.7.9
|
||||||
call C:\ProgramData\chocolatey\bin\RefreshEnv.cmd
|
call C:\ProgramData\chocolatey\bin\RefreshEnv.cmd
|
||||||
SET PATH=C:\Python27\;C:\Python27\Scripts;C:\Python39\;C:\Python39\Scripts;%PATH%
|
SET PATH=C:\Python27\;C:\Python27\Scripts;C:\Python39\;C:\Python39\Scripts;%PATH%
|
||||||
|
npm install npm -g
|
||||||
|
|
||||||
REM Setup Depot Tools
|
REM Setup Depot Tools
|
||||||
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git C:\depot_tools
|
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git C:\depot_tools
|
||||||
|
|
Загрузка…
Ссылка в новой задаче