view applications/ide/runbuild.py @ 51:b3a65e154ab2

Added fancy arrow head
author windel
date Thu, 05 Apr 2012 08:01:41 +0200
parents 600f48b74799
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)