Skip to content

Commit

Permalink
code format
Browse files Browse the repository at this point in the history
  • Loading branch information
xprayc committed Sep 26, 2013
1 parent 5bcfa9c commit 2c54fab
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion install.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def installBIN(from, opfile)
for fn in files
fn_dir = File.dirname(fn)
target_dir = File.join($sitedir, fn_dir)
if ! File.exist?(target_dir)
if !File.exist?(target_dir)
FileUtils.mkdir_p(target_dir)
end
FileUtils.install(File.join('lib', fn), File.join($sitedir, fn),
Expand Down
2 changes: 1 addition & 1 deletion lib/rake/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ def print_rakefile_directory(location)

def raw_load_rakefile # :nodoc:
rakefile, location = find_rakefile_location
if (! options.ignore_system) &&
if (!options.ignore_system) &&
(options.load_system || rakefile.nil?) &&
system_dir && File.directory?(system_dir)
print_rakefile_directory(location)
Expand Down
4 changes: 1 addition & 3 deletions lib/rake/rake_module.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@ def load_rakefile(path)
# Add files to the rakelib list
def add_rakelib(*files)
application.options.rakelib ||= []
files.each do |file|
application.options.rakelib << file
end
application.options.rakelib.concat(files)
end
end

Expand Down

0 comments on commit 2c54fab

Please sign in to comment.