Skip to content

Commit

Permalink
[CMake] Renames BUILD files (google#6457)
Browse files Browse the repository at this point in the history
* Renamed build to build.bazel to stop xcode from complaining about it

* Renamed all build to build.bazel

* Fixes small ci issue
  • Loading branch information
mustiikhalil authored Feb 11, 2021
1 parent 1b88655 commit 6af37e6
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
*_wire.bin
.DS_Store
**/.build
build
**/Packages
/*.xcodeproj
**/xcuserdata/
Expand Down
4 changes: 2 additions & 2 deletions BUILD → BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
licenses(["notice"])

load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library")

licenses(["notice"])

package(
default_visibility = ["//visibility:public"],
)
Expand Down
File renamed without changes.
File renamed without changes.
5 changes: 3 additions & 2 deletions src/BUILD → src/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# @unused
load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library")

package(
default_visibility = ["//visibility:private"],
)

load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library")

# Public flatc library to compile flatbuffer files at runtime.
cc_library(
name = "flatbuffers",
Expand Down
2 changes: 1 addition & 1 deletion tests/BUILD → tests/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
load("@rules_cc//cc:defs.bzl", "cc_test")
load("//:build_defs.bzl", "flatbuffer_cc_library")

package(default_visibility = ["//visibility:private"])

Expand Down Expand Up @@ -70,7 +71,6 @@ cc_test(
)

# Test bzl rules
load("//:build_defs.bzl", "flatbuffer_cc_library")

cc_library(
name = "test_assert",
Expand Down

0 comments on commit 6af37e6

Please sign in to comment.