also "build" .htpasswd files

This commit is contained in:
Steven Sloan 2013-01-18 20:13:49 -05:00 committed by Thomas Reynolds
parent af132f6207
commit 17ad2caf11
6 changed files with 6 additions and 2 deletions

View file

@ -231,7 +231,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