Use "R" and "D" as short names for config

This commit is contained in:
Cheng Zhao 2015-04-03 11:59:14 +08:00
parent 8a91000083
commit 8b7d875e40
8 changed files with 15 additions and 15 deletions

View file

@ -12,12 +12,12 @@ def main():
os.chdir(SOURCE_ROOT)
if sys.platform == 'darwin':
atom_shell = os.path.join(SOURCE_ROOT, 'out', 'Debug', 'Atom.app',
atom_shell = os.path.join(SOURCE_ROOT, 'out', 'D', 'Atom.app',
'Contents', 'MacOS', 'Atom')
elif sys.platform == 'win32':
atom_shell = os.path.join(SOURCE_ROOT, 'out', 'Debug', 'atom.exe')
atom_shell = os.path.join(SOURCE_ROOT, 'out', 'D', 'atom.exe')
else:
atom_shell = os.path.join(SOURCE_ROOT, 'out', 'Debug', 'atom')
atom_shell = os.path.join(SOURCE_ROOT, 'out', 'D', 'atom')
subprocess.check_call([atom_shell, 'spec'] + sys.argv[1:])