Permalink
Browse files

Rakefile: Pull changes first and invoke 'rake install' from within th…

…e Rakefile so the Rakefile is reloaded.
  • Loading branch information...
1 parent be95102 commit ab561fddd8664cb8415892f26e9401b76e00d085 @kalbasit kalbasit committed Nov 3, 2011
Showing with 7 additions and 3 deletions.
  1. +7 −3 Rakefile
View
@@ -36,8 +36,12 @@ task :update do
sh "git submodule update"
end
-task :install => [:update, :folders] do
- # Dummy task.
+task :install => [:folders, :link_vim_conf_files] do
+ # Dummy task, real work is done with the hooks.
end
-task :default => [:install, :link_vim_conf_files]
+desc "Install or Update Janus."
+task :default do
+ sh "rake update"
+ sh "rake install"
+end

0 comments on commit ab561fd

Please sign in to comment.