Class: Clobber

Inherits:
Array show all
Defined in:
lib/dev_commands.rb

Instance Method Summary collapse

Methods inherited from Array

#add, #execute, #to_html

Instance Method Details

#updateObject



321
322
323
324
325
326
327
328
329
330
331
332
333
# File 'lib/dev_commands.rb', line 321

def update
  ['bin'].each{|dir| 
    CLOBBER.include(dir) if File.exists?(dir)
  }  
  
  clean=Clean.new
  clean.update

  CLOBBER.include('*.gem')

       #add '<%Rake::Task[:clobber].reenable%>'

       add '<%Rake::Task[:clobber].invoke%>'
end