Browse Source

Rake task update_source now preserves footer as well as navigation

unreleased_contents
Brandon Mathis 13 years ago
parent
commit
df86e647b1
  1. 1
      Rakefile

1
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 "mkdir -p #{source_dir}; cp -R #{themes_dir}/"+theme+"/source/. #{source_dir}"
system "cp -Rn #{source_dir}.old/. #{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/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} ##" puts "## Updated #{source_dir} ##"
end end

Loading…
Cancel
Save