Fix: dirty worktree after running 'rake install'

This commit is contained in:
Fernanda Lopes 2013-05-29 10:42:57 -03:00
parent fd6902e715
commit 50fdb9109f

View File

@ -49,7 +49,7 @@ end
task :submodule_init do
unless ENV["SKIP_SUBMODULES"]
run %{ git submodule update --init --recursive }
run %{ git submodule init }
end
end
@ -62,7 +62,7 @@ task :submodules do
run %{
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
}
puts