Permalink
Browse files

Fix indentation

  • Loading branch information...
1 parent 3bff3a1 commit 68c7a8c2119ca3146aa2fbd07951d84c29b562a9 @drbrain drbrain committed Jan 9, 2011
Showing with 7 additions and 8 deletions.
  1. +7 −8 Rakefile
View
@@ -15,7 +15,6 @@ begin
gem 'rdoc'
require 'rdoc/task'
rescue Gem::LoadError
- require 'rake/rdoctask'
end
CLEAN.include('**/*.o', '*.dot', '**/*.rbc')
@@ -375,13 +374,13 @@ task :update_version, :rel, :reuse, :reltest,
announce "Updating Rake version to #{args.rel}"
open("lib/rake.rb") do |rakein|
open("lib/rake.rb.new", "w") do |rakeout|
- rakein.each do |line|
- if line =~ /^RAKEVERSION\s*=\s*/
- rakeout.puts "RAKEVERSION = '#{args.rel}'"
- else
- rakeout.puts line
- end
- end
+ rakein.each do |line|
+ if line =~ /^RAKEVERSION\s*=\s*/
+ rakeout.puts "RAKEVERSION = '#{args.rel}'"
+ else
+ rakeout.puts line
+ end
+ end
end
end
mv "lib/rake.rb.new", "lib/rake.rb"

0 comments on commit 68c7a8c

Please sign in to comment.