[2.0.x] Add Sublime support for Auto build, minor Auto-build update (#10809)

This commit is contained in:
Bob Kuhn
2018-05-22 02:04:51 -05:00
committed by Scott Lahteine
parent 4b610b333e
commit 22e0691a70
3 changed files with 113 additions and 0 deletions

View File

@ -69,6 +69,13 @@
import sys
import os
pwd = os.getcwd() # make sure we're executing from the correct directory level
pwd = pwd.replace('\\', '/')
if 0 <= pwd.find('buildroot/share/atom'):
pwd = pwd[ : pwd.find('buildroot/share/atom')]
os.chdir(pwd)
print 'pwd: ', pwd
num_args = len(sys.argv)
if num_args > 1:
build_type = str(sys.argv[1])