Permalink
Browse files

move cuke4php_server to bin directory and add it as an executable

  • Loading branch information...
1 parent fa714c1 commit 98c580bdb0c790980108101590c9f5da937e150a Kevin Olbrich committed May 4, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 Rakefile
  2. +1 −1 bin/cuke4php
  3. 0 {php_bin → bin}/cuke4php_server
View
@@ -10,7 +10,7 @@ begin
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+"
View
@@ -44,7 +44,7 @@ end
cuke4php_port=ENV['CUKE4PHP_PORT'] || autodetect_free_port
server = fork do
- exec "#{File.dirname(__FILE__)}/../php_bin/cuke4php_server -p #{cuke4php_port} #{ARGV.last ? ARGV.last : 'features'}"
+ exec "#{File.dirname(__FILE__)}/cuke4php_server -p #{cuke4php_port} #{ARGV.last ? ARGV.last : 'features'}"
end
sleep 1
cucumber = fork do
File renamed without changes.

0 comments on commit 98c580b

Please sign in to comment.