From ea9248457beeabb78679bf1ac404e2fe28c0176e Mon Sep 17 00:00:00 2001 From: Michael Carroll Date: Thu, 17 Oct 2024 15:59:27 +0000 Subject: [PATCH] Also build examples Signed-off-by: Michael Carroll --- examples/BUILD.bazel | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 examples/BUILD.bazel diff --git a/examples/BUILD.bazel b/examples/BUILD.bazel new file mode 100644 index 0000000..d43e722 --- /dev/null +++ b/examples/BUILD.bazel @@ -0,0 +1,28 @@ +load("@rules_license//rules:license.bzl", "license") + +package( + default_applicable_licenses = ["//:license"], + default_visibility = ["//visibility:public"], +) + +license( + name = "license", + package_name = "gz-utils-examples", +) + +cc_binary( + name = "log", + srcs = ["log/main.cc"], + deps = [ + "//log:Logger", + ], +) + +cc_binary( + name = "using_cli", + srcs = ["using_cli/main.cc"], + deps = [ + "//:Config", + "//cli", + ], +)