Sha256: 679b79218c93f12ab7e4abaf0e294b17936658e39bce453349b6ef5b80d46c19
Contents?: true
Size: 907 Bytes
Versions: 2
Compression:
Stored size: 907 Bytes
Contents
require 'rubygems' require 'rake' require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) do |spec| spec.pattern = 'spec/**/*_spec.rb' end namespace :spec do RSpec::Core::RakeTask.new(:doc) do |spec| spec.pattern = 'spec/**/*_spec.rb' spec.spec_opts << '--format specdoc' end end RSpec::Core::RakeTask.new(:rcov) do |spec| spec.pattern = 'spec/**/*_spec.rb' spec.rcov = true end begin require 'cucumber/rake/task' Cucumber::Rake::Task.new(:features) rescue LoadError task :features do abort "Cucumber is not available. In order to run features, you must: sudo gem install cucumber" end end task :default => :spec begin require 'yard' YARD::Rake::YardocTask.new do |y| y.files << '-' << 'CHANGELOG.*' << 'TODO.*' end rescue LoadError task :yardoc do abort "YARD is not available. In order to run yardoc, you must: sudo gem install yard" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruby_gpg-0.3.2 | Rakefile |
ruby_gpg-0.3.1 | Rakefile |