class BourbonIntegrator::Command::Clean

Public Instance Methods

run() click to toggle source
# File lib/bourbon_integrator/command/clean.rb, line 25
def run
  stylesheets_path = File.join(
    @config.fetch("project_ui_dir"),
    @config.fetch("project_public_dir"),
    @config.fetch("project_css_dir")
  )
  @output.puts "*** Remove compiled CSS ***"
  @executor.system "rm -rf #{stylesheets_path}/*"
end