webp_server_go/scripts/windows.bat
2020-03-02 21:50:04 +08:00

15 lines
246 B
Batchfile

cd ..
git pull
IF EXIST "%PROGRAMFILES(X86)%" (GOTO 64BIT) ELSE (GOTO 32BIT)
:64BIT
go build -o webp-server-windows-amd64.exe webp-server.go
GOTO END
:32BIT
echo 32-bit...
go build -o webp-server-windows-i386.exe webp-server.go
GOTO END
pause