Skip to content

Commit

Permalink
remove reference to Gemcutter in Rakefile and replace with Bundler::G…
Browse files Browse the repository at this point in the history
…emHelper

Signed-off-by: Chris Boertien <[email protected]>
  • Loading branch information
Cluster444 committed Nov 23, 2011
1 parent 8c4bcc2 commit bf9ca17
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,18 @@ 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 ]
task :default => :spec

spec = eval(File.read('spree_comments.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_comments'
Expand Down

0 comments on commit bf9ca17

Please sign in to comment.