import subprocess
import sys
+from lib.util import atom_gyp
+
CONFIGURATIONS = ['Release', 'Debug']
SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
def parse_args():
- parser = argparse.ArgumentParser(description='Build atom-shell')
+ parser = argparse.ArgumentParser(description='Build project')
parser.add_argument('-c', '--configuration',
help='Build with Release or Debug configuration',
nargs='+',
required=False)
parser.add_argument('-t', '--target',
help='Build specified target',
- default='atom',
+ default=atom_gyp()['project_name%'],
required=False)
return parser.parse_args()