fix build.py for unreal =)

This commit is contained in:
Ben Morse 2018-01-09 10:41:00 -08:00
parent f99a260b07
commit ec6af6132d

View file

@ -87,7 +87,8 @@ def for_unity(ctx):
@cli.command()
def unreal():
@click.pass_context
def unreal(ctx):
""" build libs and copy them into the unreal project """
ctx.invoke(
libs,
@ -98,6 +99,8 @@ def unreal():
just_release=True
)
click.echo('--- Copying libs and header into unreal example')
UNREAL_PROJECT_PATH = os.path.join(SCRIPT_PATH, 'examples', 'unrealstatus', 'plugins', 'discordrpc')
BUILD_BASE_PATH = os.path.join(SCRIPT_PATH, 'builds', 'win64-dynamic', 'src', 'Release')