go-jsonnet/toolutils/BUILD.bazel
sh0rez 42cb19ef24 feat(parser): export parser.Children (#327)
* feat(parser): export parser.Children

As parser was moved to internal/parser, it is not possible to import it into
external projects anymore.

However, parser.Children() is handy to use in static analysis tools, so it is
worth exporting. This does that by adding a stub package
`github.com/google/go-jsonnet/parser` that wraps the internal function.

Signed-off-by: sh0rez <me@shorez.de>
2019-10-06 22:38:37 +02:00

13 lines
329 B
Python

load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = ["ast.go"],
importpath = "github.com/google/go-jsonnet/toolutils",
visibility = ["//visibility:public"],
deps = [
"//ast:go_default_library",
"//internal/parser:go_default_library",
],
)