File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ load ("@rules_pkg//:mappings.bzl" , "pkg_filegroup" , "pkg_files" )
2
+
1
3
package (default_visibility = ["//visibility:public" ])
2
4
3
5
alias (
9
11
name = "dbscheme-stats" ,
10
12
actual = "//python/ql/lib:dbscheme-stats" ,
11
13
)
14
+
15
+ pkg_files (
16
+ name = "dbscheme-group" ,
17
+ srcs = [
18
+ ":dbscheme" ,
19
+ ":dbscheme-stats" ,
20
+ ],
21
+ strip_prefix = None ,
22
+ )
23
+
24
+ pkg_filegroup (
25
+ name = "db-files" ,
26
+ srcs = [
27
+ ":dbscheme-group" ,
28
+ "//python/downgrades" ,
29
+ ],
30
+ )
Original file line number Diff line number Diff line change
1
+ load ("@rules_pkg//:mappings.bzl" , "pkg_files" , "strip_prefix" )
2
+
3
+ pkg_files (
4
+ name = "downgrades" ,
5
+ srcs = glob (
6
+ ["**" ],
7
+ exclude = ["BUILD.bazel" ],
8
+ ),
9
+ prefix = "downgrades" ,
10
+ strip_prefix = strip_prefix .from_pkg (),
11
+ visibility = ["//python:__pkg__" ],
12
+ )
You can’t perform that action at this time.
0 commit comments