Skip to content
Browse files

suppress error messages when files-to-be-deleted don't exist

  • Loading branch information...
1 parent 8f6f99c commit 932586920d1346824200b2c1dcd0aec37db1f8fd @gbirchmeier gbirchmeier committed Sep 7, 2012
Showing with 3 additions and 2 deletions.
  1. +1 −1 README.md
  2. +2 −1 unit_test.bat
View
2 README.md
@@ -21,7 +21,7 @@ Code Generation
To generate the code from Data Dictionaries, you need Ruby and the Nokogiri gem:
gem install nokogiri
- ruby generator/generate.rb
+ generate.bat
Build
View
3 unit_test.bat
@@ -3,7 +3,8 @@ echo off
set RESULT=0
pushd UnitTests\bin\Release\
- del TestResult.xml UnitTests.html
+ if exist TestResult.xml del TestResult.xml
+ if exist UnitTests.html del UnitTests.html
nunit-console UnitTests.dll
if ERRORLEVEL 1 set RESULT=1
xsltproc.exe -o UnitTests.html ..\..\nunit.xsl TestResult.xml

0 comments on commit 9325869

Please sign in to comment.
Something went wrong with that request. Please try again.