Mercurial > lcfOS
diff python/ide/runbuild.py @ 62:fd7d5069734e
Rename application to python
author | windel |
---|---|
date | Sun, 07 Oct 2012 16:56:50 +0200 |
parents | applications/ide/runbuild.py@600f48b74799 |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python/ide/runbuild.py Sun Oct 07 16:56:50 2012 +0200 @@ -0,0 +1,16 @@ +import sys + +# Compiler imports: +from compiler.compiler import Compiler +from project import Project + +if __name__ == '__main__': + if len(sys.argv) < 2: + print('Use {0} projectfile'.format(sys.argv[0])) + sys.exit(-1) + filename = sys.argv[1] + project = Project() + project.load(filename) + pc = Compiler() + pc.compileProject(project) +