forked from livegrep/livegrep
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD
38 lines (33 loc) · 778 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
38
load("@bazel_tools//tools/build_defs/pkg:pkg.bzl", "pkg_tar")
load("@hedron_compile_commands//:refresh_compile_commands.bzl", "refresh_compile_commands")
refresh_compile_commands(
name = "compilation_db",
targets = [
"//src/tools:codesearch",
"//src/tools:codesearchtool",
"//test:codesearch_test",
],
)
load("@bazel_gazelle//:def.bzl", "gazelle")
# gazelle:prefix github.com/livegrep/livegrep
gazelle(name = "gazelle")
filegroup(
name = "docs",
srcs = glob([
"doc/**/*",
]),
)
pkg_tar(
name = "livegrep",
srcs = [
":COPYING",
":README.md",
":docs",
],
strip_prefix = ".",
deps = [
"//cmd:go_tools",
"//src/tools:cc_tools",
"//web:assets",
],
)