diff options
author | Brandon Mathis <brandon@imathis.com> | 2011-09-30 08:08:07 -0500 |
---|---|---|
committer | Brandon Mathis <brandon@imathis.com> | 2011-09-30 08:08:07 -0500 |
commit | bdf904adfff7c1ca0c340dbc36bd9ccff05513ee (patch) | |
tree | 3800e98eec7c817c99a0df5810fb2067182a3d9d | |
parent | 898b149dda088ef18832f04bd005acf7efc995d3 (diff) | |
download | my_new_personal_website-bdf904adfff7c1ca0c340dbc36bd9ccff05513ee.tar.xz my_new_personal_website-bdf904adfff7c1ca0c340dbc36bd9ccff05513ee.zip |
Retains customized favicon on update_source fixes #189, Copies index.* from source.old fixes #188
-rw-r--r-- | Rakefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -188,8 +188,9 @@ task :update_source, :theme do |t, args| puts "## Copied #{source_dir} into #{source_dir}.old/" cp_r "#{themes_dir}/"+theme+"/source/.", source_dir, :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 mv "#{source_dir}/index.html", "#{blog_index_dir}", :force=>true if blog_index_dir != source_dir - cp "#{source_dir}.old/index.html", source_dir if blog_index_dir != source_dir + cp "#{source_dir}.old/index.*", source_dir if blog_index_dir != source_dir puts "## Updated #{source_dir} ##" end |