also "build" .htpasswd files

This commit is contained in:
Steven Sloan 2013-01-18 20:13:49 -05:00
parent cad7f8a0a4
commit c121c407df
6 changed files with 6 additions and 2 deletions

View file

@ -220,7 +220,7 @@ module Middleman::Cli
paths = ::Middleman::Util.all_files_under(@destination)
@cleaning_queue += paths.select do |path|
!path.to_s.match(/\/\./) || path.to_s.match(/\.htaccess/)
!path.to_s.match(/\/\./) || path.to_s.match(/\.htaccess|\.htpasswd/)
end
end