Skip to content
This repository
Browse code

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

…e Rakefile so the Rakefile is reloaded.
  • Loading branch information...
commit ab561fddd8664cb8415892f26e9401b76e00d085 1 parent be95102
Wael M. Nasreddine authored November 03, 2011

Showing 1 changed file with 7 additions and 3 deletions. Show diff stats Hide diff stats

  1. 10  Rakefile
10  Rakefile
@@ -36,8 +36,12 @@ task :update do
36 36
   sh "git submodule update"
37 37
 end
38 38
 
39  
-task :install => [:update, :folders] do
40  
-  # Dummy task.
  39
+task :install => [:folders, :link_vim_conf_files] do
  40
+  # Dummy task, real work is done with the hooks.
41 41
 end
42 42
 
43  
-task :default => [:install, :link_vim_conf_files]
  43
+desc "Install or Update Janus."
  44
+task :default do
  45
+  sh "rake update"
  46
+  sh "rake install"
  47
+end

0 notes on commit ab561fd

Please sign in to comment.
Something went wrong with that request. Please try again.