[dotnet] Improve the 'clean' target. (#8729)
Don't nuke the entire DOTNET_DESTDIR, because that means it will be necessary to run 'make' in the top-level directory again. Instead only clean files that the dotnet/ directory will re-build.
This commit is contained in:
Родитель
4e37ecf65c
Коммит
ce34c1f893
|
@ -123,7 +123,7 @@ all-local:: $(TARGETS) targets/Xamarin.Shared.Sdk.Versions.props
|
||||||
endif
|
endif
|
||||||
|
|
||||||
clean-local::
|
clean-local::
|
||||||
$(Q) rm -Rf $(DOTNET_DESTDIR) $(DOTNET_NUPKG_DIR) $(DOTNET_FEED_DIR)
|
$(Q) rm -Rf $(DOTNET_NUPKG_DIR) $(DOTNET_FEED_DIR)
|
||||||
$(Q) git clean -xfdq
|
$(Q) git clean -xfdq
|
||||||
|
|
||||||
.SECONDARY:
|
.SECONDARY:
|
||||||
|
|
Загрузка…
Ссылка в новой задаче