mirror of
https://github.com/servo/servo.git
synced 2025-06-29 19:43:39 +01:00
parent
e68585a26f
commit
448f3c84a7
1 changed files with 5 additions and 0 deletions
|
@ -622,6 +622,11 @@ class MachCommands(CommandBase):
|
||||||
def clean(self, manifest_path=None, params=[], verbose=False):
|
def clean(self, manifest_path=None, params=[], verbose=False):
|
||||||
self.ensure_bootstrapped()
|
self.ensure_bootstrapped()
|
||||||
|
|
||||||
|
virtualenv_path = path.join(self.get_top_dir(), 'python', '_virtualenv')
|
||||||
|
if path.exists(virtualenv_path):
|
||||||
|
print('Removing virtualenv directory: %s' % virtualenv_path)
|
||||||
|
shutil.rmtree(virtualenv_path)
|
||||||
|
|
||||||
opts = []
|
opts = []
|
||||||
if manifest_path:
|
if manifest_path:
|
||||||
opts += ["--manifest-path", manifest_path]
|
opts += ["--manifest-path", manifest_path]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue