diff options
author | Brandon Mathis <brandon@imathis.com> | 2011-07-28 22:12:50 -0400 |
---|---|---|
committer | Brandon Mathis <brandon@imathis.com> | 2011-07-28 22:12:50 -0400 |
commit | df86e647b1200f724ba8924eb474b9334ca0fd68 (patch) | |
tree | ba683f3de07975c3cc6ac3214435733a8b62ee66 /Rakefile | |
parent | c779ad791612bef126d50e975bf7b5a855c9e82e (diff) | |
download | my_new_personal_website-df86e647b1200f724ba8924eb474b9334ca0fd68.tar.xz my_new_personal_website-df86e647b1200f724ba8924eb474b9334ca0fd68.zip |
Rake task update_source now preserves footer as well as navigation
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -150,6 +150,7 @@ task :update_source, :theme do |t, args| system "mkdir -p #{source_dir}; cp -R #{themes_dir}/"+theme+"/source/. #{source_dir}" system "cp -Rn #{source_dir}.old/. #{source_dir}" system "cp -f #{source_dir}.old/_includes/navigation.html #{source_dir}/_includes/navigation.html" + system "cp -f #{source_dir}.old/_includes/footer.html #{source_dir}/_includes/footer.html" puts "## Updated #{source_dir} ##" end |