This commit is contained in:
j 2016-01-13 23:16:24 +05:30
parent fb9d7f7572
commit 3ba16900e6

View file

@ -120,7 +120,7 @@ def command_update_static(*args):
r('git', 'clone', 'https://git.0x2620.org/oxjs.git', oxjs)
elif os.path.exists(os.path.join(oxjs, '.git')):
os.system('cd "%s" && git pull' % oxjs)
r('python3', os.path.join(oxjs, 'tools', 'build', 'build.py'))
r('python3', os.path.join(oxjs, 'tools', 'build', 'build.py'), '-nogeo')
r('python3', os.path.join(settings.static_path, 'py', 'build.py'))
reader = os.path.join(settings.base_dir, '..', 'reader')
if not os.path.exists(reader):
@ -166,7 +166,8 @@ def command_release(*args):
EXCLUDE=[
'--exclude', '.git', '--exclude', '.bzr',
'--exclude', 'pip_cache',
'--exclude', '.*.swp', '--exclude', '._*', '--exclude', '.DS_Store'
'--exclude', '.*.swp', '--exclude', '._*', '--exclude', '.DS_Store',
'--exclude', 'Geo/png'
]
#run('./ctl', 'update_static')