Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Copy sub-project gems into top-level pkg directory for convenience

  • Loading branch information...
commit 465b3ab6083083c97ec90e0b53ff8cd632373166 1 parent c8c66e0
@nicksieger nicksieger authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 rakelib/package.rake
View
7 rakelib/package.rake
@@ -52,9 +52,16 @@ end
rake task
end
end
+
task "#{File.dirname(dir)}:#{task}" => "#{prefix}:#{task}"
task "all:#{task}" => "#{prefix}:#{task}"
end
+
+ # Copy all generated gems to the top-level pkg directory for convenience
+ task "#{prefix}:package" do
+ FileList["#{dir}/pkg/*.gem"].each {|gem| cp gem, "pkg"}
+ end
+
desc "Run rake release on #{dir}"
task "#{prefix}:release" do
Dir.chdir(dir) do
Please sign in to comment.
Something went wrong with that request. Please try again.