mirror of
https://github.com/aseprite/aseprite.git
synced 2024-11-24 08:18:16 +00:00
15 lines
456 B
Batchfile
15 lines
456 B
Batchfile
@echo off
|
|
|
|
rem If cl.exe is not available, we try to run the vcvars64.bat
|
|
where cl.exe >nul 2>nul
|
|
if %errorlevel%==1 (
|
|
@call "%ProgramFiles%\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat"
|
|
)
|
|
|
|
rem Add an extra path element which will be invalidated by Git Bash.
|
|
rem In this way we avoid invalidating the PATH location where cl.exe is.
|
|
set PATH=.;%PATH%
|
|
|
|
powershell -ExecutionPolicy Bypass -File .\build.ps1 %*
|
|
pause
|