update build.py (examples)
This commit is contained in:
parent
c3047a1586
commit
da6d94cf05
1 changed files with 13 additions and 4 deletions
|
@ -170,10 +170,19 @@ def build_oxjs(downloads=False, geo=False):
|
||||||
lambda x: 'Ox.%s/Ox.%s.js' % (x, x),
|
lambda x: 'Ox.%s/Ox.%s.js' % (x, x),
|
||||||
['Geo', 'Image', 'Unicode']
|
['Geo', 'Image', 'Unicode']
|
||||||
)),
|
)),
|
||||||
'examples': filter(
|
'examples': sorted(sum(map(
|
||||||
lambda x: not re.search('^[._]', x),
|
lambda x: filter(
|
||||||
os.listdir(root_path + 'examples/')
|
lambda x: not re.search('/[._]', x),
|
||||||
),
|
map(
|
||||||
|
lambda y: x + '/' + y,
|
||||||
|
os.listdir(root_path + 'examples/' + x)
|
||||||
|
)
|
||||||
|
),
|
||||||
|
filter(
|
||||||
|
lambda x: not re.search('^[._]', x),
|
||||||
|
os.listdir(root_path + 'examples/')
|
||||||
|
)
|
||||||
|
), [])),
|
||||||
'readme': map(
|
'readme': map(
|
||||||
lambda x: {
|
lambda x: {
|
||||||
'date': time.strftime(
|
'date': time.strftime(
|
||||||
|
|
Loading…
Reference in a new issue