Beispiel #1
0
def main(argv):
    app.openProject()
    args = cli.parse_args(argv[1:])

    if args.build:
        buildTargetName = 'host'
        if args.platform != 'native':
            buildTargetName = args.platform

        from gii.core.tools import Build
        buildOptions = {
            'build_type': args.build_type,
            'targets': [buildTargetName]
        }
        code = Build.run(**buildOptions)
        if code and code != 0:
            exit(code)

    from gii.core.tools import RunHost
    options = {
        'base': args.local and 'local' or 'game',
        'platform': args.platform,
        'steam_support': args.steam_support
    }
    code = RunHost.run(args.target, *args.arguments, **options)
    exit(code)
Beispiel #2
0
def main( argv ):
	app.openProject()
	args = cli.parse_args( argv[1:] )		
	code = Build.run( 
		**vars( args )
		)
	exit( code )
	
Beispiel #3
0
def main(argv):
    app.openProject()
    args = cli.parse_args(argv[1:])
    if args.build:
        from gii.core.tools import Build
        code = Build.run()
        if code and code != 0:
            exit(code)

    from gii.core.tools import RunHost
    code = RunHost.run(args.target)
    exit(code)
Beispiel #4
0
def main( argv ):
	app.openProject()
	args = cli.parse_args( argv[1:] )	
	if args.build:
		from gii.core.tools import Build
		code = Build.run()
		if code and code != 0:
			exit( code )

	from gii.core.tools import RunHost
	code = RunHost.run( args.target )
	exit( code )
Beispiel #5
0
def main(argv):
    app.openProject()
    args = cli.parse_args(argv[1:])
    code = Build.run(**vars(args))
    exit(code)