Rakefile in cuke4php-0.9.5 vs Rakefile in cuke4php-0.9.6.a

- old
+ new

@@ -8,11 +8,11 @@ gem.summary = %Q{Implementation of the Cucumber wire protocol for PHP projects} gem.description = %Q{Using this protocol it is possible to directly interact with PHP code at any level without the need for a web server. To accomplish this, when cucumber is running against a directory containing feature files and it cannot resolve a particular step definition, it will ask a known wire server (as defined in a .wire file) to interpret and run those steps.} gem.authors = ["Kevin Olbrich", "Alessandro Dal Grande"] gem.email = ["kevin.olbrich+cuke4php@gmail.com", "aledalgrande@gmail.com"] gem.homepage = "http://github.com/olbrich/cuke4php" - gem.executables = 'cuke4php' + gem.executables = ['cuke4php','cuke4php_server'] gem.files.exclude 'phpdoc' gem.has_rdoc = false gem.requirements << "PHP 5.2+" gem.requirements << "PHPUnit 3.0+" gem.post_install_message =<<eos @@ -37,22 +37,9 @@ end require 'cucumber/rake/task' task :default => [:features, :phpunit] - -namespace :server do - - desc "start cuke4php server" - task :start do - sh "#{File.dirname(__FILE__)}/php_bin/cuke4php #{ARGV.first ? ARGV.first : 'features'} &" - end - - desc "stop cuke4php server" - task :stop do - sh "echo 'quit' | nc #{ENV['SERVER'] || 'localhost'} #{ENV['PORT'] || 16816}" - end -end desc "Run Cucumber features for Cuke4php" task :features do sh "bin/cuke4php -p #{ENV['PROFILE'] || 'default'} features" end \ No newline at end of file