MSVC installation wrapper script

Поиск
Список
Период
Сортировка
От Dave Page
Тема MSVC installation wrapper script
Дата
Msg-id 46372577.6090603@postgresql.org
обсуждение исходный текст
Ответы Re: MSVC installation wrapper script  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-patches
Per previous discussion with Magnus, the attached batch file (rename to
install.bat) is a wrapper script for the MSVC installer. It sets up the
environment before installing (to allow zic.exe to run properly), and
removes the need to explicitly call perl on the command line.

This should be added to src/tools/msvc

Regards, Dave.
@echo off
REM $PostgreSQL$

if NOT "%1"=="" GOTO RUN_INSTALL

echo Invalid command line options.
echo Usage: "install.bat <path>"
echo.
exit /b 1

:RUN_INSTALL

SETLOCAL
if exist src\tools\msvc\buildenv.bat call src\tools\msvc\buildenv.bat
if exist buildenv.bat call buildenv.bat

perl install.pl "%1"

exit /b %ERRORLEVEL%

В списке pgsql-patches по дате отправления:

Предыдущее
От: "Pavel Stehule"
Дата:
Сообщение: Re: plpgpsm
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: MSVC installation wrapper script