This is an archive of the discontinued Mercurial Phabricator instance.

rust: make clean takes care of rust/target
ClosedPublic

Authored by gracinet on Dec 4 2018, 1:16 PM.

Details

Summary

This isn't the prettiest way of doing it, but it doesn't require looking
up cargo, or wondering whether that should be part of setup.py clean.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

gracinet created this revision.Dec 4 2018, 1:16 PM
yuja added a subscriber: yuja.Dec 5 2018, 6:51 AM

Queued, thanks.

Can you check ui.username is configured properly in your ~/hgrc?
Currently the patch author is set to "Georges Racinet on $hostname <$email>".

	rm -rf build mercurial/locale
	$(MAKE) -C doc clean
	$(MAKE) -C contrib/chg distclean

+ if test -d rust/target; then rm -rf rust/target; fi

Removed "if ..". rm -rf shouldn't fail.

This revision was automatically updated to reflect the committed changes.