19 lines
374 B
Python
19 lines
374 B
Python
|
load("//ts:typescript.bzl", "typescript")
|
||
|
|
||
|
_deps = [
|
||
|
"@npm//@sqltools/formatter",
|
||
|
"@npm//@types/diff",
|
||
|
"@npm//@types/node",
|
||
|
"@npm//diff",
|
||
|
]
|
||
|
|
||
|
typescript(
|
||
|
name = "sql_format_lib",
|
||
|
srcs = ["sql_format.ts"],
|
||
|
deps = _deps,
|
||
|
)
|
||
|
|
||
|
# a hack to allow us to define the test in a different file; there
|
||
|
# should be a better way
|
||
|
exports_files(["sql_format.ts"])
|