forked from wellington/go-libsass
-
Notifications
You must be signed in to change notification settings - Fork 1
/
BUILD.bazel
53 lines (49 loc) · 1.21 KB
/
BUILD.bazel
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
load("@bazel_gazelle//:def.bzl", "gazelle")
# gazelle:prefix github.com/yext/go-libsass
gazelle(name = "gazelle")
go_library(
name = "go_default_library",
srcs = [
"compiler.go",
"context.go",
"doc.go",
"encoding.go",
"error.go",
"export.go",
"func.go",
"header.go",
"importer.go",
"mixins.go",
"options.go",
"toscss.go",
"version.go",
],
importpath = "github.com/yext/go-libsass",
visibility = ["//visibility:public"],
deps = [
"//libs:go_default_library",
"@org_golang_x_net//context:go_default_library",
],
)
go_test(
name = "go_default_test",
srcs = [
"compiler_test.go",
"context_test.go",
"encoding_test.go",
"error_test.go",
"export_test.go",
"file_test.go",
"func_test.go",
"header_test.go",
"importer_test.go",
"options_test.go",
"toscss_test.go",
"unicode_test.go",
"version_test.go",
],
data = glob(["test/**"]),
embed = [":go_default_library"],
deps = ["//libs:go_default_library"],
)