Skip to content

Commit

Permalink
Reformat.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgiven committed Oct 19, 2024
1 parent d6a11d7 commit 38af98e
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 7 deletions.
4 changes: 3 additions & 1 deletion arch/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
deps=["lib/config+common_proto"],
)

protocc(name="proto_lib", srcs=[".+proto"], deps=["lib/config+common_proto_lib"])
protocc(
name="proto_lib", srcs=[".+proto"], deps=["lib/config+common_proto_lib"]
)

cxxlibrary(
name="arch",
Expand Down
6 changes: 5 additions & 1 deletion lib/decoders/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@
protocc(
name="proto_lib",
srcs=[".+proto"],
deps=["lib/config+common_proto_lib", "arch+proto_lib", "lib/fluxsink+proto_lib"],
deps=[
"lib/config+common_proto_lib",
"arch+proto_lib",
"lib/fluxsink+proto_lib",
],
)

cxxlibrary(
Expand Down
4 changes: 3 additions & 1 deletion lib/fluxsink/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
from build.c import cxxlibrary

proto(name="proto", srcs=["./fluxsink.proto"], deps=["lib/config+common_proto"])
protocc(name="proto_lib", srcs=[".+proto"], deps=["lib/config+common_proto_lib"])
protocc(
name="proto_lib", srcs=[".+proto"], deps=["lib/config+common_proto_lib"]
)

cxxlibrary(
name="fluxsink",
Expand Down
4 changes: 3 additions & 1 deletion lib/fluxsource/build.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
from build.protobuf import proto, protocc
from build.c import cxxlibrary

proto(name="proto", srcs=["./fluxsource.proto"], deps=["lib/config+common_proto"])
proto(
name="proto", srcs=["./fluxsource.proto"], deps=["lib/config+common_proto"]
)

protocc(
name="proto_lib",
Expand Down
4 changes: 3 additions & 1 deletion lib/usb/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
from build.c import cxxlibrary

proto(name="proto", srcs=["./usb.proto"], deps=["lib/config+common_proto"])
protocc(name="proto_lib", srcs=[".+proto"], deps=["lib/config+common_proto_lib"])
protocc(
name="proto_lib", srcs=[".+proto"], deps=["lib/config+common_proto_lib"]
)

cxxlibrary(
name="usb",
Expand Down
6 changes: 5 additions & 1 deletion lib/vfs/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
proto(
name="proto",
srcs=["./vfs.proto"],
deps=["lib/config+common_proto", "lib/config+layout_proto", "lib/external+fl2_proto"],
deps=[
"lib/config+common_proto",
"lib/config+layout_proto",
"lib/external+fl2_proto",
],
)

protocc(
Expand Down
6 changes: 5 additions & 1 deletion tests/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
from scripts.build import protoencode_single


proto(name="test_proto", srcs=["./testproto.proto"], deps=["lib/config+common_proto"])
proto(
name="test_proto",
srcs=["./testproto.proto"],
deps=["lib/config+common_proto"],
)

protocc(
name="test_proto_lib", srcs=[".+test_proto"], deps=["lib/config+proto_lib"]
Expand Down

0 comments on commit 38af98e

Please sign in to comment.