build_windows.ps1 369 B

123456789101112131415
  1. # powershell -ExecutionPolicy ByPass -File .\build\build_windows.ps1
  2. # first so `bash` is the one installed with `git`, avoid conflict with WSL
  3. $env:Path = "C:\Program Files\Git\bin;" + $env:Path
  4. Remove-Item -Recurse -Force VSCode*
  5. bash ./get_repo.sh
  6. $Env:SHOULD_BUILD = 'yes'
  7. $Env:CI_BUILD = 'no'
  8. $Env:OS_NAME = 'windows'
  9. $Env:VSCODE_ARCH = 'x64'
  10. bash ./build.sh