Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 8 lines (4 sloc) 188 Bytes
#!/usr/bin/python
import os, glob, json
icons = json.dumps([os.path.basename(icon) for icon in glob.glob('icons/*.png')])
open('js/icon_data.js', 'w').write('var icon_data = ' + icons)