Skip to content

Commit

Permalink
Changed the generator script so that the icons are in alphabetical or…
Browse files Browse the repository at this point in the history
…der in the generated stencil.
  • Loading branch information
nathanielw committed May 18, 2015
1 parent 4816405 commit 47d2800
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate-xml.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
name_re = re.compile(r'.+\/(.+?)\/svg\/production\/ic_(.+)_')

src_path = Path('./material-design-icons/')
sprite_files = list(src_path.glob('**/svg/production/*24px.svg'))
sprite_files = sorted(list(src_path.glob('**/svg/production/*24px.svg')), key=lambda file: file.as_posix())
files_element = etree.Element("files")

# set up the output dir
Expand Down

0 comments on commit 47d2800

Please sign in to comment.