Commit 5eae0eb
committed
Move Bazel workspace root to project root
Moved MODULE.bazel, WORKSPACE.bazel, .bazelrc, WORKSPACE.bzlmod, and p4runtime_deps.bzl from proto/ to the repository root.
Added strip_import_prefix = "/proto" to proto_library targets in proto/BUILD.bazel to maintain correct import paths.
Updated bazel/example/using-workspace and bazel/example/using-bzlmod to depend on //proto:p4info_cc_proto and point to the repository root instead of proto/.
Created a root BUILD.bazel file exporting LICENSE and p4runtime_deps.bzl.
Fixes #571.1 parent b607cab commit 5eae0eb
File tree
11 files changed
+11
-18
lines changed- bazel/example
- using-bzlmod
- using-workspace
- proto
11 files changed
+11
-18
lines changedFile renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
File renamed without changes.
File renamed without changes.
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
File renamed without changes.
0 commit comments