Sha256: a4ee309aab3976d12a19eed7936f0c3f6ff3f6bb96cd1ecbacb9f6acbbf09e8d
Contents?: true
Size: 717 Bytes
Versions: 4
Compression:
Stored size: 717 Bytes
Contents
# encoding: utf-8 require "rubygems" require "rspec/core/rake_task" require 'yard' require 'cucumber' require 'cucumber/rake/task' begin require 'bundler/gem_tasks' rescue LoadError puts "Cannot load bundler/gem_tasks" end Cucumber::Rake::Task.new(:features) do |t| t.cucumber_opts = "features --format pretty" end desc "Run all specs" RSpec::Core::RakeTask.new(:spec) do |t| t.verbose = true end desc 'Default: Run all specs.' task :default => :spec task :test => :spec task :doc => :yard task :gem => :gemspec def gemspec @gemspec ||= eval(File.read('apiary.gemspec'), binding, '.gemspec') end YARD::Rake::YardocTask.new desc "Validate the gemspec" task :gemspec do gemspec.validate end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
apiaryio-0.2.4 | Rakefile |
apiaryio-0.2.3 | Rakefile |
apiaryio-0.2.2 | Rakefile |
apiaryio-0.2.1 | Rakefile |