Don't copy the .sass-cache to the gh-pages dir.

This commit is contained in:
Parker Moore 2015-01-12 00:37:33 -08:00
parent 7439d303c4
commit e7dcc2424a
1 changed files with 2 additions and 0 deletions

View File

@ -195,6 +195,7 @@ namespace :site do
gh-pages/. gh-pages/.
gh-pages/.. gh-pages/..
gh-pages/.git gh-pages/.git
gh-pages/.gitignore
] ]
FileList["gh-pages/{*,.*}"].exclude(*purge_exclude).each do |path| FileList["gh-pages/{*,.*}"].exclude(*purge_exclude).each do |path|
sh "rm -rf #{path}" sh "rm -rf #{path}"
@ -206,6 +207,7 @@ namespace :site do
site/. site/.
site/.. site/..
site/.jekyll-metadata site/.jekyll-metadata
site/.sass-cache
site/_site site/_site
] ]
FileList["site/{*,.*}"].exclude(*copy_exclude).each do |path| FileList["site/{*,.*}"].exclude(*copy_exclude).each do |path|