Ignore Windows errors in clean.py
This commit is contained in:
parent
f5ae3111ba
commit
e95ee4775e
1 changed files with 8 additions and 5 deletions
|
@ -11,11 +11,14 @@ SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
os.chdir(SOURCE_ROOT)
|
os.chdir(SOURCE_ROOT)
|
||||||
rm_rf('node_modules')
|
try:
|
||||||
rm_rf('dist')
|
rm_rf('node_modules')
|
||||||
rm_rf('out')
|
rm_rf('dist')
|
||||||
rm_rf('spec/node_modules')
|
rm_rf('out')
|
||||||
rm_rf('vendor/brightray/vendor/download/libchromiumcontent')
|
rm_rf('spec/node_modules')
|
||||||
|
rm_rf('vendor/brightray/vendor/download/libchromiumcontent')
|
||||||
|
except WindowsError: # pylint: disable=E0602
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
Loading…
Reference in a new issue