From ec6af6132d8ec26142b9ffb792af02ce375a3296 Mon Sep 17 00:00:00 2001 From: Ben Morse Date: Tue, 9 Jan 2018 10:41:00 -0800 Subject: [PATCH] fix build.py for unreal =) --- build.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build.py b/build.py index 597d728..221ad6d 100755 --- a/build.py +++ b/build.py @@ -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')