Sha256: 402819fc9e7040c3a9274aa21e475f1e83b13dedfebc87acda29306426fa8ae6

Contents?: true

Size: 729 Bytes

Versions: 4

Compression:

Stored size: 729 Bytes

Contents

require 'rake'
require 'rake/testtask'
require 'rake/packagetask'
require 'rubygems/package_task'
require 'rspec/core/rake_task'
require 'cucumber/rake/task'
require 'spree_core/testing_support/common_rake'

RSpec::Core::RakeTask.new
Cucumber::Rake::Task.new

task :default => [:spec, :cucumber ]

spec = eval(File.read('spree_froomerce_fconnect.gemspec'))

Gem::PackageTask.new(spec) do |p|
  p.gem_spec = spec
end

desc "Release to gemcutter"
task :release => :package do
  require 'rake/gemcutter'
  Rake::Gemcutter::Tasks.new(spec).define
  Rake::Task['gem:push'].invoke
end

desc "Generates a dummy app for testing"
task :test_app do
  ENV['LIB_NAME'] = 'spree_froomerce_fconnect'
  Rake::Task['common:test_app'].invoke
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spree_froomerce_fconnect-0.70.5 Rakefile
spree_froomerce_fconnect-0.70.4 Rakefile
spree_froomerce_fconnect-0.70.3 Rakefile
spree_froomerce_fconnect-0.70.2 Rakefile