[2.0.x] Add Sublime support for Auto build, minor Auto-build update (#10809)
This commit is contained in:
parent
4b610b333e
commit
22e0691a70
3 changed files with 113 additions and 0 deletions
|
|
@ -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])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue