Skip to content

Commit

Permalink
add generated files per Go-convention making it easy to use the 'go' …
Browse files Browse the repository at this point in the history
…tool.
  • Loading branch information
pmbethe09 committed Nov 29, 2016
1 parent 91f1a2a commit 26f817c
Show file tree
Hide file tree
Showing 6 changed files with 2,633 additions and 0 deletions.
6 changes: 6 additions & 0 deletions api_proto/BUILD
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
load("@io_bazel_rules_go//proto:go_proto_library.bzl", "go_proto_library")
load("//core:build_defs.bzl", "genfile_check_test")

genfile_check_test(
src = "api.gen.pb.go",
gen = "api.pb.go",
)

go_proto_library(
name = "go_default_library",
Expand Down
301 changes: 301 additions & 0 deletions api_proto/api.gen.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions build_proto/BUILD
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
load("@io_bazel_rules_go//proto:go_proto_library.bzl", "go_proto_library")
load("//core:build_defs.bzl", "genfile_check_test")

genfile_check_test(
src = "build.gen.pb.go",
gen = "build.pb.go",
)

genrule(
name = "copy_and_fix",
Expand Down
Loading

0 comments on commit 26f817c

Please sign in to comment.