summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorSamuel E. Giddins <segiddins@segiddins.me>2015-02-21 12:42:29 -0800
committerSamuel E. Giddins <segiddins@segiddins.me>2015-02-21 12:42:29 -0800
commit9adb543372584ec5eeb6929525eff08438ea3f4a (patch)
tree3af46927a7fbc2b27d088faeeadd3ef5b715254a /Rakefile
parent6b2affed016abbd25961dc83f24e134202e3029b (diff)
downloadbundler-9adb543372584ec5eeb6929525eff08438ea3f4a.tar.gz
[Thor] downcase vendored thor directory
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Rakefile b/Rakefile
index 60007fb3d1..ffe246cedc 100644
--- a/Rakefile
+++ b/Rakefile
@@ -52,13 +52,13 @@ end
namespace :thor do
task :namespace do
- files = Dir.glob('lib/bundler/vendor/Thor*/**/*.rb')
+ files = Dir.glob('lib/bundler/vendor/thor*/**/*.rb')
sh "sed -i.bak 's/Thor/Bundler::Thor/g' #{files.join(' ')}"
sh "rm #{files.join('.bak ')}.bak"
end
task :clean do
- files = Dir.glob('lib/bundler/vendor/Thor*/*', File::FNM_DOTMATCH).reject { |f| %(. .. lib).include? f.split('/').last }
+ files = Dir.glob('lib/bundler/vendor/thor*/*', File::FNM_DOTMATCH).reject { |f| %(. .. lib).include? f.split('/').last }
puts files
sh "rm -r #{files.join(' ')}"
end