Author: dreimer
Date: Sun Nov 30 13:21:30 2008
New Revision: 37775
URL:
http://svn.reactos.org/svn/reactos?rev=37775&view=rev
Log:
Another nice gimmick I just invented by accident.
Modified:
trunk/tools/RosBE/RosBE-Windows/Powershell/Clean.ps1
trunk/tools/RosBE/RosBE-Windows/Powershell/Help.ps1
trunk/tools/RosBE/RosBE-Windows/Root/Clean.cmd
trunk/tools/RosBE/RosBE-Windows/Root/Help.cmd
Modified: trunk/tools/RosBE/RosBE-Windows/Powershell/Clean.ps1
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Powershe…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Powershell/Clean.ps1 [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Windows/Powershell/Clean.ps1 [iso-8859-1] Sun Nov 30 13:21:30
2008
@@ -131,6 +131,8 @@
end
}
elseif ("$args" -ne "") {
- "Unknown parameter specified. Try ''help [COMMAND]''."
+ $cl = "$args" + "_clean"
+ make $cl
+ $cl = $null
end
}
Modified: trunk/tools/RosBE/RosBE-Windows/Powershell/Help.ps1
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Powershe…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Powershell/Help.ps1 [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Windows/Powershell/Help.ps1 [iso-8859-1] Sun Nov 30 13:21:30
2008
@@ -168,6 +168,8 @@
""
" all - Removes build logs and compiler output in the RosBE-Logs
directory."
" logs - Removes all build logs in the RosBE-Logs directory."
+ " All other commands will be parsed as "make COMMAND_clean" and
cleans the"
+ " specific command."
exit
}
if (Test-Path "$_ROSBE_BASEDIR\Config.ps1") {
Modified: trunk/tools/RosBE/RosBE-Windows/Root/Clean.cmd
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/Cle…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/Clean.cmd [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/Clean.cmd [iso-8859-1] Sun Nov 30 13:21:30 2008
@@ -29,7 +29,7 @@
goto :EOC
)
if not "%1" == "" (
- echo Unknown parameter specified. Try 'help [COMMAND]'.
+ "%_ROSBE_BASEDIR%\Build.cmd" %1_clean
goto :EOC
)
Modified: trunk/tools/RosBE/RosBE-Windows/Root/Help.cmd
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/Hel…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/Help.cmd [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/Help.cmd [iso-8859-1] Sun Nov 30 13:21:30 2008
@@ -174,6 +174,8 @@
echo.
echo all - Removes build logs and compiler output in the RosBE-Logs directory.
echo logs - Removes all build logs in the RosBE-Logs directory.
+ echo All other commands will be parsed as "make COMMAND_clean" and
cleans the
+ echo specific command.
goto :EOC
)
if exist "%_ROSBE_BASEDIR%\Config.cmd" (