Method: Bunto::Commands::Clean.process

Defined in:
lib/bunto/commands/clean.rb

.process(options) ⇒ Object



19
20
21
22
23
24
25
26
27
28
# File 'lib/bunto/commands/clean.rb', line 19

def process(options)
  options = configuration_from_options(options)
  destination = options["destination"]
   = File.join(options["source"], ".bunto-metadata")
  sass_cache = File.join(options["source"], ".sass-cache")

  remove(destination, :checker_func => :directory?)
  remove(, :checker_func => :file?)
  remove(sass_cache, :checker_func => :directory?)
end