Skip to content

Commit 6af37e6

Browse files
author
mustiikhalil
authoredFeb 11, 2021
[CMake] Renames BUILD files (#6457)
* Renamed build to build.bazel to stop xcode from complaining about it * Renamed all build to build.bazel * Fixes small ci issue
1 parent 1b88655 commit 6af37e6

File tree

6 files changed

+7
-5
lines changed

6 files changed

+7
-5
lines changed
 

‎.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
*_wire.bin
33
.DS_Store
44
**/.build
5+
build
56
**/Packages
67
/*.xcodeproj
78
**/xcuserdata/

‎BUILD renamed to ‎BUILD.bazel

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
licenses(["notice"])
2-
31
load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library")
42

3+
licenses(["notice"])
4+
55
package(
66
default_visibility = ["//visibility:public"],
77
)
File renamed without changes.
File renamed without changes.

‎src/BUILD renamed to ‎src/BUILD.bazel

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1+
# @unused
2+
load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library")
3+
14
package(
25
default_visibility = ["//visibility:private"],
36
)
47

5-
load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library")
6-
78
# Public flatc library to compile flatbuffer files at runtime.
89
cc_library(
910
name = "flatbuffers",

‎tests/BUILD renamed to ‎tests/BUILD.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
load("@rules_cc//cc:defs.bzl", "cc_test")
2+
load("//:build_defs.bzl", "flatbuffer_cc_library")
23

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

@@ -70,7 +71,6 @@ cc_test(
7071
)
7172

7273
# Test bzl rules
73-
load("//:build_defs.bzl", "flatbuffer_cc_library")
7474

7575
cc_library(
7676
name = "test_assert",

0 commit comments

Comments
 (0)
Please sign in to comment.