From 0ddaf885a35d7a4463bbb3934c20f4d6ff7175a6 Mon Sep 17 00:00:00 2001 From: Yan Pritzker Date: Tue, 9 Oct 2012 23:02:36 -0700 Subject: [PATCH] Fix installation (upgrade was working ok) --- Rakefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 1d8590d..f843b00 100644 --- a/Rakefile +++ b/Rakefile @@ -1,7 +1,7 @@ require 'rake' desc "Hook our dotfiles into system-standard positions." -task :install => [:submodules] do +task :install => [:submodule_init, :submodules] do puts puts "======================================================" puts "Welcome to YADR Installation. I'll ask you a few" @@ -35,6 +35,10 @@ task :update => [:install] do #not to clobber zsh files end +task :submodule_init do + run %{ git submodule update --init --recursive } +end + desc "Init and update submodules." task :submodules do puts "======================================================"