mirror of
https://github.com/WatchOutNewsAgency/wona.github.com.git
synced 2026-01-01 01:16:26 +00:00
wildcards broke rake update_source. fixes that
This commit is contained in:
2
Rakefile
2
Rakefile
@ -190,7 +190,7 @@ task :update_source, :theme do |t, args|
|
|||||||
cp_r "#{source_dir}.old/_includes/custom/.", "#{source_dir}/_includes/custom/", :remove_destination=>true
|
cp_r "#{source_dir}.old/_includes/custom/.", "#{source_dir}/_includes/custom/", :remove_destination=>true
|
||||||
cp "#{source_dir}.old/favicon.png", source_dir
|
cp "#{source_dir}.old/favicon.png", source_dir
|
||||||
mv "#{source_dir}/index.html", "#{blog_index_dir}", :force=>true if blog_index_dir != source_dir
|
mv "#{source_dir}/index.html", "#{blog_index_dir}", :force=>true if blog_index_dir != source_dir
|
||||||
cp "#{source_dir}.old/index.*", source_dir if blog_index_dir != source_dir
|
cp "#{source_dir}.old/index.html", source_dir if blog_index_dir != source_dir
|
||||||
puts "## Updated #{source_dir} ##"
|
puts "## Updated #{source_dir} ##"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user