Skip to content

Commit

Permalink
Merge pull request #46 from tagCincy/tagCincy/clobber-all-files
Browse files Browse the repository at this point in the history
Perform recursive file search when clobbering
  • Loading branch information
dhh authored Jan 1, 2024
2 parents 1f31ec4 + 1d58a4a commit d227ae6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/tasks/clobber.rake
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
namespace :dartsass do
desc "Remove CSS builds"
task :clobber do
rm_rf Dir["app/assets/builds/[^.]*.css"], verbose: false
rm_rf Dir["app/assets/builds/[^.]*.css\.map"], verbose: false
rm_rf Dir["app/assets/builds/**/[^.]*.css"], verbose: false
rm_rf Dir["app/assets/builds/**/[^.]*.css\.map"], verbose: false
end
end

Expand Down

0 comments on commit d227ae6

Please sign in to comment.