Skip to content

Commit

Permalink
rake gem task
Browse files Browse the repository at this point in the history
  • Loading branch information
aanand committed Jul 16, 2013
1 parent ada6066 commit 46c9418
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
task :default => :test

task :gem do
sh "rm -r pkg/*"
sh "gem build git-up.gemspec"
sh "mv git-up-*.gem pkg"
puts "Built " + Dir.glob("pkg/*.gem")[0]
end

require 'rdoc/task'
Rake::RDocTask.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
Expand Down

0 comments on commit 46c9418

Please sign in to comment.