update build script

This commit is contained in:
rolux 2012-04-05 17:56:53 +02:00
parent 599da178f1
commit 8c3ef648ab

View file

@ -155,10 +155,16 @@ def build_oxjs(geo):
os.listdir(root_path + 'examples/')
),
'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(
lambda x: not re.match('^[\._]', x),
os.listdir(root_path + 'readme/html')
os.listdir(root_path + 'readme/html/')
)
)
}