зеркало из https://github.com/electron/electron.git
25 строки
482 B
Python
Executable File
25 строки
482 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
import os
|
|
import sys
|
|
|
|
from lib.util import rm_rf
|
|
|
|
|
|
SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
|
|
|
|
|
|
def main():
|
|
os.chdir(SOURCE_ROOT)
|
|
rm_rf('node_modules')
|
|
rm_rf('dist')
|
|
rm_rf('out')
|
|
rm_rf('spec/node_modules')
|
|
rm_rf('vendor/brightray/vendor/download/libchromiumcontent')
|
|
rm_rf('vendor/brightray/vendor/libchromiumcontent/src')
|
|
rm_rf(os.path.expanduser('~/.node-gyp'))
|
|
|
|
|
|
if __name__ == '__main__':
|
|
sys.exit(main())
|