aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2011-07-28 22:12:50 -0400
committerBrandon Mathis <brandon@imathis.com>2011-07-28 22:12:50 -0400
commitdf86e647b1200f724ba8924eb474b9334ca0fd68 (patch)
treeba683f3de07975c3cc6ac3214435733a8b62ee66
parentc779ad791612bef126d50e975bf7b5a855c9e82e (diff)
downloadmy_new_personal_website-df86e647b1200f724ba8924eb474b9334ca0fd68.tar.xz
my_new_personal_website-df86e647b1200f724ba8924eb474b9334ca0fd68.zip
Rake task update_source now preserves footer as well as navigation
-rw-r--r--Rakefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index d77d1131..734bbbd7 100644
--- a/Rakefile
+++ b/Rakefile
@@ -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