fd6e43baf9
We don't yet build, but we're getting closer.
21 lines
398 B
Python
Executable file
21 lines
398 B
Python
Executable file
#!/usr/bin/env python
|
|
|
|
import os
|
|
import subprocess
|
|
import sys
|
|
|
|
|
|
SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
|
|
GYP = {
|
|
'darwin': 'gyp',
|
|
'win32': 'gyp.bat',
|
|
}[sys.platform]
|
|
|
|
def main():
|
|
os.chdir(SOURCE_ROOT)
|
|
subprocess.check_call([GYP, '--depth', '.', 'brightray.gyp'])
|
|
subprocess.check_call(['xcodebuild'])
|
|
|
|
|
|
if __name__ == '__main__':
|
|
sys.exit(main())
|