From 080d712ba12f651564afa81324f0c5b7f182fd9c Mon Sep 17 00:00:00 2001 From: Carlos Segarra Date: Thu, 24 Oct 2024 09:43:37 +0000 Subject: [PATCH] nits: run clang-format --- tasks/rabe.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tasks/rabe.py b/tasks/rabe.py index c0570ef..ee6b423 100644 --- a/tasks/rabe.py +++ b/tasks/rabe.py @@ -37,7 +37,9 @@ def build(ctx, clean=False, native=False): makedirs(header_dir) if not native: - src_lib = join(rabe_dir, "target", "wasm32-wasip1", "release", "librabe.a") + src_lib = join( + rabe_dir, "target", "wasm32-wasip1", "release", "librabe.a" + ) else: src_lib = join(rabe_dir, "target", "release", "librabe.a") @@ -61,7 +63,11 @@ def build(ctx, clean=False, native=False): "cmake", "-GNinja", "-DCMAKE_BUILD_TYPE=Release", - "-DCMAKE_TOOLCHAIN_FILE={}".format(CMAKE_TOOLCHAIN_FILE) if not native else "", + ( + "-DCMAKE_TOOLCHAIN_FILE={}".format(CMAKE_TOOLCHAIN_FILE) + if not native + else "" + ), rabe_cpp_dir, ] cmake_cmd = " ".join(cmake_cmd)