mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2025-01-14 07:08:01 -05:00
Remove copydot task in favor of Jekyll's include config (Fixes #894)
This commit is contained in:
parent
be53372e20
commit
536f760d5a
10
Rakefile
10
Rakefile
@ -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 = ""
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user