view 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
line wrap: on
line source

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)