annotate applications/ide/runbuild.py @ 52:67056de5da0f

Added delete key
author windel
date Sun, 08 Apr 2012 09:43:48 +0200
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