Commit 6370e326 authored by Mike Greiling's avatar Mike Greiling

recursively clean compiled fixtures

parent 2373082e
...@@ -13,7 +13,7 @@ module JavaScriptFixturesHelpers ...@@ -13,7 +13,7 @@ module JavaScriptFixturesHelpers
# #
def clean_frontend_fixtures(directory_name) def clean_frontend_fixtures(directory_name)
directory_name = File.expand_path(directory_name, FIXTURE_PATH) directory_name = File.expand_path(directory_name, FIXTURE_PATH)
Dir[File.expand_path('*.html.raw', directory_name)].each do |file_name| Dir[File.expand_path('**/*.html.raw', directory_name)].each do |file_name|
FileUtils.rm(file_name) FileUtils.rm(file_name)
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment