зеркало из https://github.com/mozilla/gecko-dev.git
23 строки
456 B
Python
Executable File
23 строки
456 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
"""
|
|
make.py
|
|
|
|
A drop-in or mostly drop-in replacement for GNU make.
|
|
"""
|
|
|
|
import sys, os
|
|
import pymake.command, pymake.process
|
|
|
|
import gc
|
|
|
|
if __name__ == '__main__':
|
|
sys.stdout = os.fdopen(sys.stdout.fileno(), 'w', 0)
|
|
sys.stderr = os.fdopen(sys.stderr.fileno(), 'w', 0)
|
|
|
|
gc.disable()
|
|
|
|
pymake.command.main(sys.argv[1:], os.environ, os.getcwd(), cb=sys.exit)
|
|
pymake.process.ParallelContext.spin()
|
|
assert False, "Not reached"
|