Skip to content

Commit

Permalink
nits: run clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
csegarragonz committed Oct 24, 2024
1 parent d4b1b4e commit 080d712
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions tasks/rabe.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand All @@ -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)
Expand Down

0 comments on commit 080d712

Please sign in to comment.