Author: dreimer
Date: Sun Apr 18 17:16:52 2010
New Revision: 46922
URL: http://svn.reactos.org/svn/reactos?rev=46922&view=rev
Log:
Add the Error Sound to the Batch Version, too.
It ONLY works if tee alias Logging is disabled for now!
Modified:
trunk/tools/RosBE/RosBE-Windows/Root/Build-Shared.cmd
Modified: trunk/tools/RosBE/RosBE-Windows/Root/Build-Shared.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/Bui…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/Build-Shared.cmd [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/Build-Shared.cmd [iso-8859-1] Sun Apr 18 17:16:52 2010
@@ -63,8 +63,13 @@
:EOC
:: Highlight the fact that building has ended.
-cd /d "%_ROSBE_BASEDIR%\samples"
-playwav.exe Notification.wav
+if !errorlevel! GEQ 1 (
+ cd /d "%_ROSBE_BASEDIR%\samples"
+ playwav.exe error.wav
+) else (
+ cd /d "%_ROSBE_BASEDIR%\samples"
+ playwav.exe notification.wav
+)
flash.exe
Author: dreimer
Date: Sun Apr 18 16:40:03 2010
New Revision: 46921
URL: http://svn.reactos.org/svn/reactos?rev=46921&view=rev
Log:
Fix a access error when you start two builds in the same minute on a PC by adding the seconds to $TIMENAME, too.
Clean up $DATENAME which included the year twice.
Modified:
trunk/tools/RosBE/RosBE-Windows/Powershell/Build.ps1
Modified: trunk/tools/RosBE/RosBE-Windows/Powershell/Build.ps1
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Powershe…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Powershell/Build.ps1 [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Windows/Powershell/Build.ps1 [iso-8859-1] Sun Apr 18 16:40:03 2010
@@ -31,8 +31,8 @@
# Get the current date and time for use in in our build log's file name.
$TIMERAW = get-date -f t
-$DATENAME = get-date -f dyMMyyyy
-$TIMENAME = get-date -f HHmm
+$DATENAME = get-date -f dMMyyyy
+$TIMENAME = get-date -f Hms
# Check whether we were called as "makex" or "make"
if ("$($args[0])" -eq "multi") {