package data may be computed prior to components being fetched

trust that it will be re-run after npm/bower
Min RK 10 years ago
parent b3cab90e9a
commit bb6368a545

@ -162,16 +162,18 @@ def find_package_data():
trees = []
mj_out = mj('jax', 'output')
for output in os.listdir(mj_out):
if output == 'SVG':
# strip SVG output
continue
path = pjoin(mj_out, output)
static_data.append(pjoin(path, '*.js'))
autoload = pjoin(path, 'autoload')
if os.path.isdir(autoload):
trees.append(autoload)
if os.path.exists(mj_out):
for output in os.listdir(mj_out):
if output == 'SVG':
# strip SVG output
continue
path = pjoin(mj_out, output)
static_data.append(pjoin(path, '*.js'))
autoload = pjoin(path, 'autoload')
if os.path.isdir(autoload):
trees.append(autoload)
for tree in trees + [
mj('localization'), # limit to en?
mj('fonts', 'HTML-CSS', 'STIX-Web', 'woff'),

Loading…
Cancel
Save