|
Revision 674, 0.6 kB
(checked in by Gregor, 1 year ago)
|
*: More Windows fixes ...
|
| Line | |
|---|
| 1 |
@echo off |
|---|
| 2 |
cls |
|---|
| 3 |
echo You have chosen to install Tango via DSSS. If you follow through, you |
|---|
| 4 |
echo will no longer be able to build Phobos-based software. Uninstalling |
|---|
| 5 |
echo tango via DSSS WILL NOT uninstall the tango core, so this operation |
|---|
| 6 |
echo is difficult to undo. Are you sure you want to do this? |
|---|
| 7 |
|
|---|
| 8 |
set /p answer=Y/n |
|---|
| 9 |
if "%answer%"=="n" goto fail |
|---|
| 10 |
|
|---|
| 11 |
REM Install the tango core ... |
|---|
| 12 |
cd tango\lib |
|---|
| 13 |
|
|---|
| 14 |
REM Build ... |
|---|
| 15 |
echo Building Tango core... |
|---|
| 16 |
cmd /c build-dmd.bat |
|---|
| 17 |
cmd /c build-tango.bat |
|---|
| 18 |
cmd /c ..\..\generate-usergdi32.bat |
|---|
| 19 |
|
|---|
| 20 |
REM Install |
|---|
| 21 |
echo Installing Tango core... |
|---|
| 22 |
install-dmd.exe --uninstall |
|---|
| 23 |
install-dmd.exe |
|---|
| 24 |
|
|---|
| 25 |
exit /b 0 |
|---|
| 26 |
|
|---|
| 27 |
:fail |
|---|
| 28 |
exit /b 1 |
|---|