Skip to content

Commit e5a8ca2

Browse files
committed
chore: Disable layering check on Go code.
`rules_go` doesn't like it.
1 parent c7d0124 commit e5a8ca2

File tree

5 files changed

+9
-2
lines changed

5 files changed

+9
-2
lines changed

.cirrus.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
---
22
cirrus-ci_task:
33
container:
4-
image: toxchat/toktok-stack:0.0.31-third_party
4+
image: toxchat/toktok-stack:0.0.31-release
55
cpu: 2
66
memory: 4G
77
configure_script:
88
- /src/workspace/tools/inject-repo go-toxcore-c
99
test_all_script:
1010
- cd /src/workspace && bazel test -k
1111
--remote_http_cache=http://$CIRRUS_HTTP_CACHE_HOST
12-
--config=release
1312
//go-toxcore-c/...

BUILD.bazel

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
22
load("//tools/project:build_defs.bzl", "project")
33

4+
package(features = ["-layering_check"])
5+
46
project()
57

68
go_library(

cmds/tsdec/BUILD.bazel

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
22

3+
package(features = ["-layering_check"])
4+
35
go_library(
46
name = "go_default_library",
57
srcs = ["tsdec.go"],

cmds/tsexp/BUILD.bazel

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
22

3+
package(features = ["-layering_check"])
4+
35
go_library(
46
name = "go_default_library",
57
srcs = ["tsexp.go"],

examples/BUILD.bazel

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
22

3+
package(features = ["-layering_check"])
4+
35
go_library(
46
name = "go_default_library",
57
srcs = ["toxecho.go"],

0 commit comments

Comments
 (0)