Skip to content

Commit

Permalink
Update C++ tutorial to use Bzlmod (#486)
Browse files Browse the repository at this point in the history
- Renamed WORKSPACE to MODULE.bazel
- removed `load`s from `rules_cc` in BUILD files, as that's still in
flux.
  • Loading branch information
Wyverald authored Aug 23, 2024
1 parent 6583c1a commit ac7e3e6
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 8 deletions.
File renamed without changes.
2 changes: 0 additions & 2 deletions cpp-tutorial/stage1/main/BUILD
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
load("@rules_cc//cc:defs.bzl", "cc_binary")

cc_binary(
name = "hello-world",
srcs = ["hello-world.cc"],
Expand Down
File renamed without changes.
2 changes: 0 additions & 2 deletions cpp-tutorial/stage2/main/BUILD
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library")

cc_library(
name = "hello-greet",
srcs = ["hello-greet.cc"],
Expand Down
File renamed without changes.
2 changes: 0 additions & 2 deletions cpp-tutorial/stage3/lib/BUILD
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
load("@rules_cc//cc:defs.bzl", "cc_library")

cc_library(
name = "hello-time",
srcs = ["hello-time.cc"],
Expand Down
2 changes: 0 additions & 2 deletions cpp-tutorial/stage3/main/BUILD
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library")

cc_library(
name = "hello-greet",
srcs = ["hello-greet.cc"],
Expand Down

0 comments on commit ac7e3e6

Please sign in to comment.