forked from 0x2620/oxjs
update build script
This commit is contained in:
parent
599da178f1
commit
8c3ef648ab
1 changed files with 8 additions and 2 deletions
|
|
@ -155,10 +155,16 @@ def build_oxjs(geo):
|
||||||
os.listdir(root_path + 'examples/')
|
os.listdir(root_path + 'examples/')
|
||||||
),
|
),
|
||||||
'readme': map(
|
'readme': map(
|
||||||
lambda x: x.split('.')[0],
|
lambda x: {
|
||||||
|
'date': time.strftime(
|
||||||
|
'%Y-%m-%d %H:%M:%S',
|
||||||
|
time.gmtime(os.path.getmtime(root_path + 'readme/html/' + x))
|
||||||
|
),
|
||||||
|
'name': x.split('.')[0]
|
||||||
|
},
|
||||||
filter(
|
filter(
|
||||||
lambda x: not re.match('^[\._]', x),
|
lambda x: not re.match('^[\._]', x),
|
||||||
os.listdir(root_path + 'readme/html')
|
os.listdir(root_path + 'readme/html/')
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue