Sha256: 4884d78c45c2cfa3b21b97e93389ebdecd7bb231b8e6a8000ce70f7434a1a59e

Contents?: true

Size: 973 Bytes

Versions: 10

Compression:

Stored size: 973 Bytes

Contents

require 'rubygems'
require 'bundler/setup'
require 'appraisal'
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
require 'rake/gempackagetask'
require 'cucumber/rake/task'
require 'spec/rake/spectask'
require 'yard'

desc 'Default: run the specs and features.'
task :default => :spec do
  system("rake -s appraisal cucumber;")
end

desc 'Test the copycopter_client plugin.'
Spec::Rake::SpecTask.new do |t|
  t.spec_opts = ['--options', "spec/spec.opts"]
  t.spec_files = FileList['spec/copycopter_client/**/*_spec.rb']
end

desc "Run cucumber features"
Cucumber::Rake::Task.new do |t|
  t.cucumber_opts = ['--tags', '~@wip',
                     '--format', (ENV['CUCUMBER_FORMAT'] || 'progress')]
end

YARD::Rake::YardocTask.new do |t|
  t.files   = ['lib/**/*.rb']
end

eval("$specification = begin; #{IO.read('copycopter_client.gemspec')}; end")
Rake::GemPackageTask.new($specification) do |package|
  package.need_zip = true
  package.need_tar = true
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
copycopter_client-1.0.0.beta10 Rakefile
copycopter_client-1.0.0.beta9 Rakefile
copycopter_client-1.0.0.beta8 Rakefile
copycopter_client-1.0.0.beta7 Rakefile
copycopter_client-1.0.0.beta6 Rakefile
copycopter_client-1.0.0.beta5 Rakefile
copycopter_client-1.0.0.beta4 Rakefile
copycopter_client-1.0.0.beta3 Rakefile
copycopter_client-1.0.0.beta2 Rakefile
copycopter_client-1.0.0.beta1 Rakefile