diff --git a/.themes/classic/source/.nojekyll b/.themes/classic/source/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/Rakefile b/Rakefile index 3c90a20..048903b 100644 --- a/Rakefile +++ b/Rakefile @@ -260,8 +260,11 @@ end desc "copy dot files for deployment" task :copydot, :source, :dest do |t, args| - FileList["#{args.source}/**/.*"].exclude("**/.", "**/..", "**/.DS_Store", "**/._*").each do |file| - cp_r file, file.gsub(/#{args.source}/, "#{args.dest}") unless File.directory?(file) + files = [".htaccess", ".nojekyll"] + Dir["#{args.source}/.*"].each do |file| + if !File.directory?(file) && files.include?(File.basename(file)) + cp(file, file.gsub(/#{args.source}/, "#{args.dest}")); + end end end