forked from dataform-co/dataform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD
37 lines (34 loc) · 823 Bytes
/
BUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
load("//tools:ts_library.bzl", "ts_library")
load("//testing:index.bzl", "ts_test_suite")
package(default_visibility = ["//visibility:public"])
ts_library(
name = "sql",
srcs = glob(
[
"**/*.ts",
],
exclude = ["**/*.spec.ts"],
),
deps = [
"//:modules-fix",
"@npm//@types/long",
],
)
ts_test_suite(
name = "tests",
srcs = glob(["**/*.spec.ts"]),
data = [
"//test_credentials:bigquery.json",
"//test_credentials:snowflake.json",
"//test_credentials:redshift.json",
"@npm//source-map-support",
],
templated_args = ["--node_options=--require=source-map-support/register"],
deps = [
":sql",
"//api",
"//testing",
"@npm//@types/chai",
"@npm//chai",
],
)