mirror of
https://github.com/google/go-jsonnet.git
synced 2025-08-10 00:07:13 +02:00
Exposes what I consider a good public API from the `internal/formatter` package. Having a go-native formatter is an awesome thing, especially because it allows shipping the formatter as part of other projects. It's also fair to keep the formatter's code in `internal`, yet third party projects should have a way to use relevant parts of it.
29 lines
803 B
Python
29 lines
803 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"enforce_comment_style.go",
|
|
"enforce_max_blank_lines.go",
|
|
"enforce_string_style.go",
|
|
"fix_indentation.go",
|
|
"fix_newlines.go",
|
|
"fix_parens.go",
|
|
"fix_plus_object.go",
|
|
"fix_trailing_commas.go",
|
|
"jsonnetfmt.go",
|
|
"no_redundant_slice_colon.go",
|
|
"pretty_field_names.go",
|
|
"sort_imports.go",
|
|
"strip.go",
|
|
"unparser.go",
|
|
],
|
|
importpath = "github.com/google/go-jsonnet/internal/formatter",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//ast:go_default_library",
|
|
"//internal/parser:go_default_library",
|
|
"//internal/pass:go_default_library",
|
|
],
|
|
)
|