Revert "Fix: dirty worktree after running 'rake install'"
This reverts commit 50fdb9109f
.
This commit is contained in:
parent
cc69134b20
commit
6f3b65a350
4
Rakefile
4
Rakefile
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user