diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2019-02-28 08:13:30 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2019-02-28 08:13:30 +0100 |
commit | 002aa1d05d09ddb6a7e116ff9b0f7fed33f4552d (patch) | |
tree | 064451c4689276c59a1f3655381cd6ba1be21cbe /src | |
parent | d484f83e45a30ebbda746793954245655eb3d987 (diff) | |
download | ee-python-002aa1d05d09ddb6a7e116ff9b0f7fed33f4552d.tar.gz ee-python-002aa1d05d09ddb6a7e116ff9b0f7fed33f4552d.tar.bz2 ee-python-002aa1d05d09ddb6a7e116ff9b0f7fed33f4552d.tar.xz ee-python-002aa1d05d09ddb6a7e116ff9b0f7fed33f4552d.zip |
o Sort SCH_FILES.
Diffstat (limited to 'src')
-rw-r--r-- | src/ee/tools/kicad_mkdeps.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ee/tools/kicad_mkdeps.py b/src/ee/tools/kicad_mkdeps.py index 3094232..0973416 100644 --- a/src/ee/tools/kicad_mkdeps.py +++ b/src/ee/tools/kicad_mkdeps.py @@ -1,4 +1,3 @@ -from __future__ import print_function import sys import argparse import ee.kicad as kicad @@ -21,8 +20,8 @@ def work(args): p("endif") p("") p("SCH_FILES =") - for s in sch.schematics: - p("SCH_FILES += {}".format(s.path)) + for path in sorted([s.path for s in sch.schematics]): + p("SCH_FILES += {}".format(path)) if args.pcb: if args.gerber: |