Revert "Fix: dirty worktree after running 'rake install'"

This reverts commit 50fdb9109f.
This commit is contained in:
Yan Pritzker 2013-06-03 21:42:40 -05:00
parent cc69134b20
commit 6f3b65a350

View File

@ -49,7 +49,7 @@ end
task :submodule_init do task :submodule_init do
unless ENV["SKIP_SUBMODULES"] unless ENV["SKIP_SUBMODULES"]
run %{ git submodule init } run %{ git submodule update --init --recursive }
end end
end end
@ -62,7 +62,7 @@ task :submodules do
run %{ run %{
cd $HOME/.yadr cd $HOME/.yadr
git submodule update --recursive git submodule foreach 'git fetch origin; git checkout master; git reset --hard origin/master; git submodule update --recursive; git clean -df'
git clean -df git clean -df
} }
puts puts