[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ros-diffs
Subject:    [ros-diffs] [dreimer] 37775: Another nice gimmick I just invented
From:       dreimer () svn ! reactos ! org
Date:       2008-11-30 19:21:30
Message-ID: 20081130202512.A92CC989CC () mail ! reactos ! org
[Download RAW message or body]

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/Powershell/Clean.ps1?rev=37775&r1=37774&r2=37775&view=diff
 ==============================================================================
--- 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/Powershell/Help.ps1?rev=37775&r1=37774&r2=37775&view=diff
 ==============================================================================
--- 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/Clean.cmd?rev=37775&r1=37774&r2=37775&view=diff
 ==============================================================================
--- 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/Help.cmd?rev=37775&r1=37774&r2=37775&view=diff
 ==============================================================================
--- 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" (


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic