diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2010-08-23 11:05:20 -0300 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2010-08-23 11:11:29 -0300 |
commit | a2f4715993feaa93d2997751381ebd88672ce23d (patch) | |
tree | 42c3f83a6900c35ac6ac0fd9a648137667308973 | |
parent | ddda35488b1e2670e1463b83a1736296edd52921 (diff) | |
download | bundler-a2f4715993feaa93d2997751381ebd88672ce23d.tar.gz |
Add Rake task to allow building vendor dir
-rw-r--r-- | Rakefile | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -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 |