[CMake] Renames BUILD files (#6457)
authormustiikhalil <mustii@mmk.one>
Thu, 11 Feb 2021 18:16:57 +0000 (21:16 +0300)
committerGitHub <noreply@github.com>
Thu, 11 Feb 2021 18:16:57 +0000 (10:16 -0800)
* Renamed build to build.bazel to stop xcode from complaining about it

* Renamed all build to build.bazel

* Fixes small ci issue

.gitignore
BUILD.bazel [moved from BUILD with 100% similarity]
bazel/BUILD.bazel [moved from grpc/BUILD with 100% similarity]
grpc/BUILD.bazel [moved from bazel/BUILD with 100% similarity]
src/BUILD.bazel [moved from src/BUILD with 99% similarity]
tests/BUILD.bazel [moved from tests/BUILD with 100% similarity]

index bd5f231..02d6651 100644 (file)
@@ -2,6 +2,7 @@
 *_wire.bin
 .DS_Store
 **/.build
+build
 **/Packages
 /*.xcodeproj
 **/xcuserdata/
similarity index 100%
rename from BUILD
rename to BUILD.bazel
index 936ef9d..4e40b71 100644 (file)
--- a/BUILD
@@ -1,7 +1,7 @@
-licenses(["notice"])
-
 load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library")
 
+licenses(["notice"])
+
 package(
     default_visibility = ["//visibility:public"],
 )
similarity index 100%
rename from grpc/BUILD
rename to bazel/BUILD.bazel
similarity index 100%
rename from bazel/BUILD
rename to grpc/BUILD.bazel
similarity index 99%
rename from src/BUILD
rename to src/BUILD.bazel
index 675b5eb..184b401 100644 (file)
--- a/src/BUILD
@@ -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",
similarity index 100%
rename from tests/BUILD
rename to tests/BUILD.bazel
index 203a08c..30e196b 100644 (file)
@@ -1,4 +1,5 @@
 load("@rules_cc//cc:defs.bzl", "cc_test")
+load("//:build_defs.bzl", "flatbuffer_cc_library")
 
 package(default_visibility = ["//visibility:private"])
 
@@ -70,7 +71,6 @@ cc_test(
 )
 
 # Test bzl rules
-load("//:build_defs.bzl", "flatbuffer_cc_library")
 
 cc_library(
     name = "test_assert",