annotate applications/ide/runbuild.py @ 42:980b2f14c9be

Merge
author windel
date Fri, 03 Feb 2012 18:01:18 +0100
parents 600f48b74799
children
rev   line source
15
de004f808e56 Fixup in multidocument area stuff
windel
parents:
diff changeset
1 import sys
de004f808e56 Fixup in multidocument area stuff
windel
parents:
diff changeset
2
de004f808e56 Fixup in multidocument area stuff
windel
parents:
diff changeset
3 # Compiler imports:
de004f808e56 Fixup in multidocument area stuff
windel
parents:
diff changeset
4 from compiler.compiler import Compiler
de004f808e56 Fixup in multidocument area stuff
windel
parents:
diff changeset
5 from project import Project
de004f808e56 Fixup in multidocument area stuff
windel
parents:
diff changeset
6
de004f808e56 Fixup in multidocument area stuff
windel
parents:
diff changeset
7 if __name__ == '__main__':
de004f808e56 Fixup in multidocument area stuff
windel
parents:
diff changeset
8 if len(sys.argv) < 2:
de004f808e56 Fixup in multidocument area stuff
windel
parents:
diff changeset
9 print('Use {0} projectfile'.format(sys.argv[0]))
de004f808e56 Fixup in multidocument area stuff
windel
parents:
diff changeset
10 sys.exit(-1)
de004f808e56 Fixup in multidocument area stuff
windel
parents:
diff changeset
11 filename = sys.argv[1]
de004f808e56 Fixup in multidocument area stuff
windel
parents:
diff changeset
12 project = Project()
de004f808e56 Fixup in multidocument area stuff
windel
parents:
diff changeset
13 project.load(filename)
de004f808e56 Fixup in multidocument area stuff
windel
parents:
diff changeset
14 pc = Compiler()
de004f808e56 Fixup in multidocument area stuff
windel
parents:
diff changeset
15 pc.compileProject(project)
de004f808e56 Fixup in multidocument area stuff
windel
parents:
diff changeset
16