lib/propshaft/processor.rb in propshaft-0.1.7 vs lib/propshaft/processor.rb in propshaft-0.2.0

- old
+ new

@@ -14,9 +14,13 @@ write_manifest output_assets compress_assets end + def clean + FileUtils.rm_r(output_path) if File.exist?(output_path) + end + private def ensure_output_path_exists FileUtils.mkdir_p output_path end