Skip to content

Commit

Permalink
Simplified rakefile
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmorrison committed Feb 14, 2012
1 parent c8584ed commit 0961d3e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 27 deletions.
1 change: 1 addition & 0 deletions Gemfile
@@ -1,6 +1,7 @@
source :rubygems
gemspec

gem "rake"
gem "rspec"
gem "vcr", '>= 2.0.0.rc1'
gem "webmock"
2 changes: 2 additions & 0 deletions Gemfile.lock
Expand Up @@ -25,6 +25,7 @@ GEM
nokogiri (~> 1.4)
rest-client (~> 1.6.0)
rest-client (~> 1.6.0)
rake (0.9.2.2)
rest-client (1.6.7)
mime-types (>= 1.16)
rspec (2.8.0)
Expand All @@ -45,6 +46,7 @@ PLATFORMS

DEPENDENCIES
deploy_and_deliver!
rake
rspec
vcr (>= 2.0.0.rc1)
webmock
28 changes: 1 addition & 27 deletions Rakefile
@@ -1,28 +1,2 @@
# -*- encoding: utf-8 -*-
$LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
require 'rubygems'
require 'bundler/setup'
require 'deploy_and_deliver/version'

require "rspec/core/rake_task"
RSpec::Core::RakeTask.new(:spec)

task :default => :spec

task :build do
system "gem build deploy_and_deliver.gemspec"
end

task :release => :build do
system "gem push deploy_and_deliver-#{DeployAndDeliver::VERSION}.gem"
end

require 'rake/rdoctask'
desc 'Generate documentation for the deploy_and_deliver plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
rdoc.rdoc_dir = 'rdoc'
rdoc.title = 'DeployAndDeliver'
rdoc.options << '--line-numbers' << '--inline-source'
rdoc.rdoc_files.include('README')
rdoc.rdoc_files.include('lib/**/*.rb')
end
require 'bundler/gem_tasks'

0 comments on commit 0961d3e

Please sign in to comment.