comparison python/apps/runbuild.py @ 63:32078200cdd6

Several move action
author windel
date Sun, 07 Oct 2012 17:04:10 +0200
parents python/ide/runbuild.py@fd7d5069734e
children
comparison
equal deleted inserted replaced
62:fd7d5069734e 63:32078200cdd6
1 import sys
2
3 # Compiler imports:
4 from compiler.compiler import Compiler
5 from project import Project
6
7 if __name__ == '__main__':
8 if len(sys.argv) < 2:
9 print('Use {0} projectfile'.format(sys.argv[0]))
10 sys.exit(-1)
11 filename = sys.argv[1]
12 project = Project()
13 project.load(filename)
14 pc = Compiler()
15 pc.compileProject(project)
16