Add bazel BUILD file

This commit is contained in:
David Arroyo 2018-04-12 20:13:10 -04:00
parent 70b8bf299f
commit 058bad1792

21
BUILD Normal file
View File

@ -0,0 +1,21 @@
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "go_default_library",
srcs = [
"ndb.go",
"read.go",
"write.go",
],
importpath = "aqwari.net/encoding/ndb",
visibility = ["//visibility:public"],
)
go_test(
name = "go_default_test",
srcs = [
"read_test.go",
"write_test.go",
],
embed = [":go_default_library"],
)