Mercurial > lcfOS
comparison applications/ide/runbuild.py @ 39:600f48b74799
Move ide
author | windel |
---|---|
date | Fri, 03 Feb 2012 18:40:43 +0100 |
parents | ide/runbuild.py@de004f808e56 |
children |
comparison
equal
deleted
inserted
replaced
38:a1c9c2158e99 | 39:600f48b74799 |
---|---|
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 |