bin/cuke4php_server in cuke4php-0.9.6.a vs bin/cuke4php_server in cuke4php-0.9.6.b
- old
+ new
@@ -1,20 +1,2 @@
-#!/usr/bin/env php
-<?php
-/**
- * main entry point for starting a Cuke4Php wire server
- * @package Cuke4Php
- */
-
-/**
- * load the Cuke4Php server
- */
-require_once dirname(__FILE__) . "/../lib/Cuke4Php.php";
-$aOptions = getopt("p:");
-if (array_key_exists('p',$aOptions)) {
- $iPort = $aOptions['p'];
-} else {
- $iPort = null;
-}
-$oServer = new Cuke4Php(realpath($argv[$argc-1]), $iPort);
-$oServer->run();
-?>
+#!/usr/bin/env ruby
+exec File.dirname(__FILE__) + "/../php_bin/cuke4php_server.php #{ARGV.join(' ')}"
\ No newline at end of file