Merge pull request #344 from nandalopes/fix-dirty-worktree

Fix: dirty worktree after running 'rake install'
This commit is contained in:
Yan Pritzker 2013-05-29 07:57:51 -07:00
commit 3c15297c0a

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 update --init --recursive } run %{ git submodule init }
end end
end end
@ -62,7 +62,7 @@ task :submodules do
run %{ run %{
cd $HOME/.yadr cd $HOME/.yadr
git submodule foreach 'git fetch origin; git checkout master; git reset --hard origin/master; git submodule update --recursive; git clean -df' git submodule update --recursive
git clean -df git clean -df
} }
puts puts