Permalink
Browse files

Gem rake task tweaks

  • Loading branch information...
1 parent 897f52a commit 25e842457bca30b935a5401547009bc358e7d703 @timcharper timcharper committed Jun 30, 2011
Showing with 5 additions and 2 deletions.
  1. +5 −2 Rakefile
View
@@ -43,19 +43,22 @@ task :install_bundles do
end
namespace :gem do
- desc "build gems for deployment to rubygems.org"
+ desc "Build gems"
task :build do
sh "rm -f spork-*.gem"
sh "gem build spork.gemspec"
sh "env PLATFORM=x86-mingw32 gem build spork.gemspec"
sh "env PLATFORM=x86-mswin32 gem build spork.gemspec"
end
- task :push do
+ desc "Build and deploy gems to rubygems.org"
+ task :deploy => :build do
Dir["spork-*.gem"].each do |g|
sh "gem push #{g}"
end
end
+
+ task :default => :build
end
# PENDING: Get this to work with gem bundler

0 comments on commit 25e8424

Please sign in to comment.