diff options
author | Samuel E. Giddins <segiddins@segiddins.me> | 2015-02-21 12:42:29 -0800 |
---|---|---|
committer | Samuel E. Giddins <segiddins@segiddins.me> | 2015-02-21 12:42:29 -0800 |
commit | 9adb543372584ec5eeb6929525eff08438ea3f4a (patch) | |
tree | 3af46927a7fbc2b27d088faeeadd3ef5b715254a /Rakefile | |
parent | 6b2affed016abbd25961dc83f24e134202e3029b (diff) | |
download | bundler-9adb543372584ec5eeb6929525eff08438ea3f4a.tar.gz |
[Thor] downcase vendored thor directory
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |