Skip to content

Commit

Permalink
add bazel
Browse files Browse the repository at this point in the history
  • Loading branch information
GMHDBJD committed Mar 7, 2023
1 parent 4b92f0c commit 71e7831
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions disttask/example/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
name = "example",
srcs = ["proto.go"],
importpath = "github.com/pingcap/tidb/disttask/example",
visibility = ["//visibility:public"],
)
8 changes: 8 additions & 0 deletions disttask/framework/proto/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
name = "proto",
srcs = ["task.go"],
importpath = "github.com/pingcap/tidb/disttask/framework/proto",
visibility = ["//visibility:public"],
)

0 comments on commit 71e7831

Please sign in to comment.