1
0
Fork 0
forked from 0x2620/oxjs

launch sequence

This commit is contained in:
rolux 2010-09-05 16:24:22 +02:00
commit 3e1cd3f490
4 changed files with 177 additions and 65 deletions

14
tools/build/build.py Normal file
View file

@ -0,0 +1,14 @@
import os
import simplejson
images = []
path = '../../build/'
for dirname, dirnames, filenames in os.walk(path + 'png'):
for filename in filenames:
if filename[:1] != '.':
images.append(os.path.join(dirname.replace(path, ''), filename))
f = open(path + 'json/ox.ui.images.json', 'w')
f.write(simplejson.dumps(images))
f.close()