Sha256: d7be98ff2d5bb780fe84c2b96a114d5b4cbe4f8251d7fcdc7858b525737c9a1e
Contents?: true
Size: 1.94 KB
Versions: 2
Compression:
Stored size: 1.94 KB
Contents
require 'rubygems' require 'rake' begin require 'jeweler' Jeweler::Tasks.new do |gem| gem.name = "cuke4php" 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.files.exclude 'phpdoc' gem.has_rdoc = false gem.requirements << "PHP 5.2+" gem.requirements << "PHPUnit 3.0+" gem.post_install_message =<<eos ******************************************************************************** Please install PHPUnit >= 3.0 if you've not already done it! Add PEAR channels: pear channel-discover pear.phpunit.de pear channel-discover components.ez.no pear channel-discover pear.symfony-project.com Install PHPUnit: pear install phpunit/PHPUnit ******************************************************************************** eos end Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler" end require 'cucumber/rake/task' task :default => [:features, :phpunit] desc "Run Cucumber features for Cuke4php" task :features do sh "bin/cuke4php -p #{ENV['PROFILE'] || 'default'} features" end desc "Generate PhpDocs -- requires PhpDocumentor" task :phpdoc do sh "rm -rf phpdoc/" sh "phpdoc -f *.php -d ./lib -t phpdoc/ --title Cuke4Php -dn Cuke4Php -dc Cuke4Php -it @one,@two,@wire" end desc "Run PHPUnit tests" task :phpunit do sh "phpunit tests" end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cuke4php-0.9.6.c | Rakefile |
cuke4php-0.9.6.b | Rakefile |