Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add Rake task to allow building vendor dir

  • Loading branch information...
commit a2f4715993feaa93d2997751381ebd88672ce23d 1 parent ddda354
@spastorino spastorino authored
Showing with 15 additions and 0 deletions.
  1. +15 −0 Rakefile
View
15 Rakefile
@@ -123,6 +123,21 @@ task :clean do
rm_rf "lib/bundler/man"
end
+namespace :vendor do
+ desc "Build the vendor dir"
+ task :build => :clean do
+ sh "git clone git://github.com/wycats/thor.git lib/bundler/vendor/tmp"
+ sh "mv lib/bundler/vendor/tmp/lib/* lib/bundler/vendor/"
+ rm_rf "lib/bundler/vendor/tmp"
+ end
+
+ desc "Clean the vendor dir"
+ task :clean do
+ rm_rf "lib/bundler/vendor"
+ end
+end
+task :build => "vendor:build"
+
begin
require 'rake/gempackagetask'
rescue LoadError
Please sign in to comment.
Something went wrong with that request. Please try again.