diff --git a/examples/cc/MODULE.bazel b/examples/cc/MODULE.bazel new file mode 100644 index 0000000000..53df310573 --- /dev/null +++ b/examples/cc/MODULE.bazel @@ -0,0 +1,14 @@ +bazel_dep(name = "rules_apple", repo_name = "build_bazel_rules_apple", version = "2.0.0") +bazel_dep(name = "bazel_skylib", version = "1.3.0") +bazel_dep(name = "rules_xcodeproj", repo_name = "com_github_buildbuddy_io_rules_xcodeproj", version = "1.5.0") +# TODO: bump to newest rules_swift containing bzlmod fixes and remove local_path_override +# bazel_dep(name = "rules_swift", repo_name = "build_bazel_rules_swift", version = "1.5.0") +local_path_override( + module_name = "rules_swift", + path = "../../../rules_swift" +) + +local_path_override( + module_name = "rules_xcodeproj", + path = "../.." +) diff --git a/examples/cc/WORKSPACE.bzlmod b/examples/cc/WORKSPACE.bzlmod new file mode 100644 index 0000000000..0eb4057892 --- /dev/null +++ b/examples/cc/WORKSPACE.bzlmod @@ -0,0 +1,5 @@ + +local_repository( + name = "examples_cc_external", + path = "external", +)