ironruby / ironruby

Microsoft's Ruby language compiler that is built on top of the Dynamic Language Runtime.

This URL has Read+Write access

ironruby / Merlin / Main / Languages / Ruby / Samples / Tutorial / test.bat
100644 21 lines (16 sloc) 0.444 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
@echo off
set IR=%~dp0..\..\..\..\Bin\Debug\ir.exe
if NOT EXIST %IR% ( set IR=%~dp0..\..\..\..\Bin\Release\ir.exe )
if NOT EXIST %IR% (
    echo No IronRuby build found! Run "bd" from a Dev.bat prompt
    goto END
)
 
call %~dp0clean.bat
call %~dp0build.bat
 
pushd %~dp0test
echo Running Tutorial desktop tests
%IR% test_console.rb
 
echo Running Tutorial Silverlight tests
ruby %~dp0..\..\..\..\Hosts\Silverlight\Scripts\run_tests.rb
popd
 
:END