view user/makeuser.py @ 313:04cf4d26a3bc

Added constant function
author Windel Bouwman
date Wed, 18 Dec 2013 18:02:26 +0100
parents ff665880a6b0
children 084cccaa5deb
line wrap: on
line source

#!/usr/bin/env python

import sys
import os
import zcc

def make_user():
    arglist = ['lib.c3', 'ipc.c3', 'hello.c3']
    arglist += ['--target', 'arm']
    arglist += ['--log', 'debug']

    args = zcc.parser.parse_args(arglist)
    zcc.main(args)

if __name__ == '__main__':
    sys.path.insert(0, os.path.join('..', 'python'))
    make_user()