Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Commit

Permalink
added command for running self test
Browse files Browse the repository at this point in the history
  • Loading branch information
dmcassel committed Mar 16, 2013
1 parent ba86623 commit 8f14a03
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ml.bat
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ for %%e in (%PATHEXT%) do (
)
if not defined RUBYFOUND goto needruby

if "%1"=="self-test" goto selftest

IF not "%1"=="new" goto rubydeployer
SHIFT
IF "%1"=="" goto usage
Expand Down Expand Up @@ -60,6 +62,11 @@ popd

goto end

:selftest
if NOT EXIST deploy\test\test_main.rb GOTO missingdeploy
ruby -Ideploy -Ideploy\lib -Ideploy\test deploy\test\test_main.rb
goto end

:rubydeployer
if NOT EXIST deploy\lib\ml.rb GOTO missingdeploy
ruby -Ideploy -Ideploy\lib deploy\lib\ml.rb %*
Expand Down

0 comments on commit 8f14a03

Please sign in to comment.