First Commit for the RosBE Update System.

Still tbd:
- Upload the stuff somewhere and set the Update Server to there.
- Build our tools / load newer GnuWin32 Tools and copy to the right directions.
- Prepare a GCC Update Function.
- Let the tool be controllable with parameters.

svn path=/trunk/tools/RosBE/; revision=797
This commit is contained in:
Daniel Reimer 2008-08-23 11:55:55 +00:00
parent 53f6647074
commit 96f9f85ddb
4 changed files with 91 additions and 0 deletions

View File

@ -10,6 +10,7 @@
- Updated: ccache 2.4 is now a native Version Without Cygwin (Colin Finck)
- Other small Fixes here and there (Daniel Reimer)
- Added: Basic PowerShell Version of RosBE (Daniel Reimer)
- Added: Update command (Daniel Reimer)
*** January 23rd, 2008 - RosBE 1.2 Released

View File

@ -73,6 +73,10 @@ if "%1" == "" (
echo options - Starts the RosBE configurator.
)
if exist "%_ROSBE_BASEDIR%\update.cmd" (
echo update - Updates RosBE to the most recent files.
)
echo.
goto :EOC
)
@ -196,6 +200,14 @@ if exist "%_ROSBE_BASEDIR%\options.cmd" (
goto :EOC
)
)
if exist "%_ROSBE_BASEDIR%\update.cmd" (
if /i "%1" == "update" (
echo Usage: update
echo Updates all files of RosBE to the most recent files.
echo.
goto :EOC
)
)
if not "%1" == "" (
echo Unknown command specified. No help available for %1.
goto :EOC

View File

@ -13,4 +13,5 @@ RENV = for /f "usebackq tokens=*" %i in (`set _ROSBE_`) do @echo %i
SCUT = "%_ROSBE_BASEDIR%\scut.cmd" $*
SSVN = "%_ROSBE_BASEDIR%\sSVN.cmd" $*
SVN = "%_ROSBE_BASEDIR%\Tools\svn.exe" $*
UPDATE = "%_ROSBE_BASEDIR%\update.cmd" $*
OPTIONS = "%_ROSBE_BASEDIR%\options.cmd" $*

View File

@ -0,0 +1,77 @@
::
:: PROJECT: RosBE - ReactOS Build Environment for Windows
:: LICENSE: GNU General Public License v2. (see LICENSE.txt)
:: FILE: Root/update.cmd
:: PURPOSE: RosBE Updater.
:: COPYRIGHT: Copyright 2008 Daniel Reimer <reimer.daniel@freenet.de>
::
::
@echo off
:: The Update Server
set url=www.foo.bar
:: PS1 Files
if exist "%_ROSBE_BASEDIR%\"%_ROSBE_BASEDIR%\Build.ps1" (
"%_ROSBE_BASEDIR%\Tools\wget.exe" -N %url%/Build.ps1
)
if exist "%_ROSBE_BASEDIR%\"%_ROSBE_BASEDIR%\Clean.ps1" (
"%_ROSBE_BASEDIR%\Tools\wget.exe" -N %url%/Clean.ps1
)
if exist "%_ROSBE_BASEDIR%\"%_ROSBE_BASEDIR%\Help.ps1" (
"%_ROSBE_BASEDIR%\Tools\wget.exe" -N %url%/Help.ps1
)
if exist "%_ROSBE_BASEDIR%\MinGW.ps1" (
"%_ROSBE_BASEDIR%\Tools\wget.exe" -N %url%/MinGW.ps1
)
if exist "%_ROSBE_BASEDIR%\RosBE.ps1" (
"%_ROSBE_BASEDIR%\Tools\wget.exe" -N %url%/RosBE.ps1
)
if exist "%_ROSBE_BASEDIR%\rosbe-gcc-env.ps1" (
"%_ROSBE_BASEDIR%\Tools\wget.exe" -N %url%/rosbe-gcc-env.ps1
)
:: Options Files
if exist "%_ROSBE_BASEDIR%\options.cmd" (
"%_ROSBE_BASEDIR%\Tools\wget.exe" -N %url%/options.cmd
)
:: SVN Files
if exist "%_ROSBE_BASEDIR%\sSVN.cmd" (
"%_ROSBE_BASEDIR%\Tools\wget.exe" -N %url%/sSVN.cmd
)
:: SCut Files
if exist "%_ROSBE_BASEDIR%\scut.cmd" (
"%_ROSBE_BASEDIR%\Tools\wget.exe" -N %url%/scut.cmd
)
:: RelAddr2Line Files
if exist "%_ROSBE_BASEDIR%\reladdr2line.cmd" (
"%_ROSBE_BASEDIR%\Tools\wget.exe" -N %url%/reladdr2line.cmd
)
:: Other Tools Files
if exist "%_ROSBE_BASEDIR%\Config.cmd" (
"%_ROSBE_BASEDIR%\Tools\wget.exe" -N %url%/Config.cmd
)
if exist "%_ROSBE_BASEDIR%\chdefdir.cmd" (
"%_ROSBE_BASEDIR%\Tools\wget.exe" -N %url%/chdefdir.cmd
)
"%_ROSBE_BASEDIR%\Tools\wget.exe" -N %url%/Build.cmd
"%_ROSBE_BASEDIR%\Tools\wget.exe" -N %url%/ChangeLog.txt
"%_ROSBE_BASEDIR%\Tools\wget.exe" -N %url%/chdefgcc.cmd
"%_ROSBE_BASEDIR%\Tools\wget.exe" -N %url%/Clean.cmd
"%_ROSBE_BASEDIR%\Tools\wget.exe" -N %url%/Help.cmd
"%_ROSBE_BASEDIR%\Tools\wget.exe" -N %url%/LICENSE.TXT
"%_ROSBE_BASEDIR%\Tools\wget.exe" -N %url%/MinGW.cmd
"%_ROSBE_BASEDIR%\Tools\wget.exe" -N %url%/mingw.ico
"%_ROSBE_BASEDIR%\Tools\wget.exe" -N %url%/MinGW.mac
"%_ROSBE_BASEDIR%\Tools\wget.exe" -N %url%/README.pdf
"%_ROSBE_BASEDIR%\Tools\wget.exe" -N %url%/RosBE.cmd
"%_ROSBE_BASEDIR%\Tools\wget.exe" -N %url%/rosbe.ico
"%_ROSBE_BASEDIR%\Tools\wget.exe" -N %url%/RosBE.mac
"%_ROSBE_BASEDIR%\Tools\wget.exe" -N %url%/rosbe-gcc-env.cmd
"%_ROSBE_BASEDIR%\Tools\wget.exe" -N %url%/TimeDate.cmd
"%_ROSBE_BASEDIR%\Tools\wget.exe" -N %url%/update.cmd