Remove copydot task in favor of Jekyll's include config (Fixes #894)

This commit is contained in:
Parker Moore 2012-12-28 02:19:19 -05:00
parent be53372e20
commit 536f760d5a
2 changed files with 2 additions and 10 deletions

View File

@ -286,16 +286,6 @@ desc "Generate website and deploy"
task :gen_deploy => [:integrate, :generate, :deploy] do
end
desc "copy dot files for deployment"
task :copydot, :source, :dest do |t, args|
files = [".htaccess"] | copy_dot_files
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
desc "Deploy website via rsync"
task :rsync do
exclude = ""

View File

@ -34,6 +34,8 @@ destination: public
plugins: plugins
code_dir: downloads/code
category_dir: blog/categories
include:
- .htaccess
markdown: rdiscount
pygments: false # Jekyll's default Python Pygments have been replaced by pygments.rb. Set to true to use Albino + Pythong Pygments