Sha256: ab346767e19505e956303b5bdf515f2699be64021eecbb9afe99e9c1f7e7de92

Contents?: true

Size: 249 Bytes

Versions: 3

Compression:

Stored size: 249 Bytes

Contents

class Clobber < Array
	def update
		['bin','lib'].each{|dir| 
			CLEAN.include(dir) if File.exists?(dir)
		}	
		
		clean=Clean.new
		clean.update

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dev_commands-0.0.17 lib/clobber.rb
dev_commands-0.0.16 lib/clobber.rb
dev_commands-0.0.15 lib/clobber.rb