Permalink
Browse files

Rakefile: tasks for making and uploading the site.

  • Loading branch information...
1 parent c935aa0 commit 26c0e8501f7d6afeba6cdbe9997ed862b72da1f8 @runpaint committed May 10, 2009
Showing with 10 additions and 0 deletions.
  1. +10 −0 Rakefile
View
@@ -50,3 +50,13 @@ task :ilinks do |t|
$stderr.puts "Link #{s} from #{source[s]} is broken" unless target.key? s
end
end
+
+desc "Generate the website"
+task :www => 'output/vim-recipes.pdf' do
+ cp 'output/vim-recipes.pdf', 'www/'
+end
+
+desc "Upload the website"
+task :upload => :www do
+ sh "rsync -v www/* vim.runpaint.org:/home/public/"
+end

0 comments on commit 26c0e85

Please sign in to comment.