Skip to content
Browse files

add build rake task

  • Loading branch information...
1 parent b2d6f87 commit 22b14d175836a72ba7cd6c4f9a13d93020f5f96b @ddollar ddollar committed Jan 11, 2011
Showing with 9 additions and 0 deletions.
  1. +9 −0 Rakefile
View
9 Rakefile
@@ -1,3 +1,12 @@
+task :build do
+ gemspec = Gem::Specification.load("taps.gemspec")
+ target = "pkg/#{gemspec.file_name}"
+
+ FileUtils.mkdir_p File.dirname(target)
+ Gem::Builder.new(gemspec).build
+ FileUtils.mv gemspec.file_name, target
+end
+
begin
require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|

0 comments on commit 22b14d1

Please sign in to comment.
Something went wrong with that request. Please try again.