Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (17 sloc) 478 Bytes
require 'rake'
require 'rake/testtask'
require 'rake/packagetask'
require 'rubygems/package_task'
require 'rspec/core/rake_task'
require 'spree_core/testing_support/common_rake'
RSpec::Core::RakeTask.new
task :default => :spec
spec = eval(File.read('spree_comments.gemspec'))
Gem::PackageTask.new(spec) do |p|
p.gem_spec = spec
end
desc "Generates a dummy app for testing"
task :test_app do
ENV['LIB_NAME'] = 'spree_comments'
Rake::Task['common:test_app'].invoke
end